Struct krator::Manifest[][src]

pub struct Manifest<T: Clone> { /* fields omitted */ }

Wrapper for ObjectState::Manifest type which reflects the latest version of the object's manifest.

Implementations

impl<T: Clone> Manifest<T>[src]

pub fn new(inner: T) -> (Sender<T>, Self)[src]

Create a new Manifest wrapper from the initial object manifest.

pub fn latest(&self) -> T[src]

Obtain a clone of the latest object manifest.

Trait Implementations

impl<T: Clone> Clone for Manifest<T>[src]

impl<T: Clone> Stream for Manifest<T>[src]

type Item = T

Values yielded by the stream.

Auto Trait Implementations

impl<T> !RefUnwindSafe for Manifest<T>[src]

impl<T> Send for Manifest<T> where
    T: Send + Sync
[src]

impl<T> Sync for Manifest<T> where
    T: Send + Sync
[src]

impl<T> Unpin for Manifest<T>[src]

impl<T> !UnwindSafe for Manifest<T>[src]

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<St> StreamExt for St where
    St: Stream + ?Sized
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized

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<S, T, E> TryStream for S where
    S: Stream<Item = Result<T, E>> + ?Sized

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<S> TryStreamExt for S where
    S: TryStream + ?Sized

impl<St> TryStreamExt for St where
    St: TryStream,