Enum ate::flow::OpenAction[][src]

pub enum OpenAction {
    Deny(String),
    DistributedChain(Arc<Chain>),
    CentralizedChain(Arc<Chain>),
    PrivateChain {
        chain: Arc<Chain>,
        session: Session,
    },
}

Variants

Deny(String)

The open request will be denied

DistributedChain(Arc<Chain>)

The open action has resulted in a chain that can be consumed as a distributed chain (distributed chains can be validated without the need for a central authority as the signatures are cryptographically signed)

CentralizedChain(Arc<Chain>)

The open action has resulted in a chain that can be consumed as a centralized chain (centralized chains are higher performance as signatures are not needed to verify the integrity of the tree however it requires the clients to trust the integrity checks of the server they are connecting to)

PrivateChain

The open action has resulted in a private chain that can only be consumed if the caller has a copy of the encryption key

Fields of PrivateChain

chain: Arc<Chain>session: Session

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> 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, 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>,