[][src]Struct safe_core::self_encryption_storage::SelfEncryptionStorage

pub struct SelfEncryptionStorage<C: Client> { /* fields omitted */ }

Network storage is the concrete type which self-encryption crate will use to put or get data from the network.

Methods

impl<C: Client> SelfEncryptionStorage<C>[src]

pub fn new(client: C, published: bool) -> Self[src]

Create a new SelfEncryptionStorage instance.

Trait Implementations

impl<C: Client> Storage for SelfEncryptionStorage<C>[src]

type Error = SelfEncryptionStorageError

Error type returned by get or put.

Auto Trait Implementations

impl<C> RefUnwindSafe for SelfEncryptionStorage<C> where
    C: RefUnwindSafe

impl<C> Send for SelfEncryptionStorage<C> where
    C: Send

impl<C> Sync for SelfEncryptionStorage<C> where
    C: Sync

impl<C> Unpin for SelfEncryptionStorage<C> where
    C: Unpin

impl<C> UnwindSafe for SelfEncryptionStorage<C> where
    C: UnwindSafe

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

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

type Error = !

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<T> UnsafeAny for T where
    T: Any

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