[][src]Struct private_currency::Service

pub struct Service { /* fields omitted */ }

Privacy-preserving cryptocurrency service.

See crate documentation for more details.

Methods

impl Service
[src]

Creates a service with an attached debugger.

The service created in this way has high associated performance penalty. Use for debugging only; otherwise, use Service::default().

Trait Implementations

impl Default for Service
[src]

impl Debug for Service
[src]

impl Service for Service
[src]

Invoked for all deployed services during the blockchain initialization on genesis block creation each time a node is started. During the handling of the method the service is able to perform the following activities: - store its own initial state to the storage [&mut Fork] - return an initial [global configuration][doc:global_cfg] of the service in the JSON format, if service has global configuration parameters. This configuration is used to create a genesis block. Read more

Auto Trait Implementations

impl Send for Service

impl Sync for Service

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> Erased for T

impl<T> Same for T

Should always be Self

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default