[][src]Struct orga::state::WrapperStore

pub struct WrapperStore<S: Read>(_);

A State implementation which exposes the underlying raw store (itself implementing Store). If the underlying store is only Read, then the WrapperStore will only implement Read.

This can be useful when composing State types into a hierarchy, when access to the raw Store API is still necessary.

Trait Implementations

impl<S: Read> Deref for WrapperStore<S>[src]

type Target = S

The resulting type after dereferencing.

impl<S: Store> DerefMut for WrapperStore<S>[src]

impl<S: Read> State<S> for WrapperStore<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for WrapperStore<S> where
    S: RefUnwindSafe

impl<S> Send for WrapperStore<S> where
    S: Send

impl<S> Sync for WrapperStore<S> where
    S: Sync

impl<S> Terminated for WrapperStore<S> where
    S: Terminated

impl<S> Unpin for WrapperStore<S> where
    S: Unpin

impl<S> UnwindSafe for WrapperStore<S> where
    S: 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<S, T> Read for T where
    S: Read,
    T: Deref<Target = S>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<S> Store for S where
    S: Read + Write
[src]

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

impl<S, T> Write for T where
    S: Write,
    T: DerefMut<Target = S>, 
[src]