[][src]Struct moxie::Commit

pub struct Commit<State> { /* fields omitted */ }

A read-only pointer to the value of a state variable at a particular revision.

Reads through a commit are not guaranteed to be the latest value visible to the runtime. Commits should be shared and used within the context of a single crate::runtime::Revision, being re-loaded from the state variable each time.

Trait Implementations

impl<State> Clone for Commit<State>[src]

impl<State> Debug for Commit<State> where
    State: Debug
[src]

impl<State> Deref for Commit<State>[src]

type Target = State

The resulting type after dereferencing.

impl<State> Display for Commit<State> where
    State: Display
[src]

impl<State: Eq> Eq for Commit<State>[src]

impl<State: PartialEq> PartialEq<Commit<State>> for Commit<State>[src]

impl<State> StructuralEq for Commit<State>[src]

impl<State> StructuralPartialEq for Commit<State>[src]

Auto Trait Implementations

impl<State> RefUnwindSafe for Commit<State> where
    State: RefUnwindSafe

impl<State> Send for Commit<State> where
    State: Send + Sync

impl<State> Sync for Commit<State> where
    State: Send + Sync

impl<State> Unpin for Commit<State>

impl<State> UnwindSafe for Commit<State> where
    State: RefUnwindSafe

Blanket Implementations

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

impl<T> AsContext for T where
    T: Debug + 'static, 
[src]

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

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

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> Erased for T

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.