[][src]Enum sn_transfers::ActorEvent

pub enum ActorEvent {
    TransferInitiated(TransferInitiated),
    TransferValidationReceived(TransferValidationReceived),
    TransferRegistrationSent(TransferRegistrationSent),
    TransfersSynched(TransfersSynched),
}

Events raised by the Actor.

Variants

TransferInitiated(TransferInitiated)

Raised when a request to create a transfer validation cmd for Replicas, has been successful (valid on local state).

TransferValidationReceived(TransferValidationReceived)

Raised when an Actor receives a Replica transfer validation.

TransferRegistrationSent(TransferRegistrationSent)

Raised when the Actor has accumulated a quorum of validations, and produced a RegisterTransfer cmd for sending to Replicas.

TransfersSynched(TransfersSynched)

Raised when the Actor has received unknown credits on querying Replicas.

Trait Implementations

impl Clone for ActorEvent[src]

impl Debug for ActorEvent[src]

impl<'de> Deserialize<'de> for ActorEvent[src]

impl Eq for ActorEvent[src]

impl PartialEq<ActorEvent> for ActorEvent[src]

impl Serialize for ActorEvent[src]

impl StructuralEq for ActorEvent[src]

impl StructuralPartialEq for ActorEvent[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,