Skip to main content

SynchronizedViewRead

Enum SynchronizedViewRead 

Source
pub enum SynchronizedViewRead<'a, Revision, Projection> {
    AwaitingSnapshot {
        observed_through: Revision,
    },
    Synchronized {
        through: Revision,
        projection: &'a Projection,
    },
    SynchronizationRequired {
        synchronized_through: Revision,
        observed_through: Revision,
        projection: &'a Projection,
    },
}

Variants§

§

AwaitingSnapshot

Fields

§observed_through: Revision
§

Synchronized

Fields

§through: Revision
§projection: &'a Projection
§

SynchronizationRequired

Fields

§synchronized_through: Revision
§observed_through: Revision
§projection: &'a Projection

Auto Trait Implementations§

§

impl<'a, Revision, Projection> Freeze for SynchronizedViewRead<'a, Revision, Projection>
where Revision: Freeze, &'a Projection: Freeze,

§

impl<'a, Revision, Projection> RefUnwindSafe for SynchronizedViewRead<'a, Revision, Projection>

§

impl<'a, Revision, Projection> Send for SynchronizedViewRead<'a, Revision, Projection>
where Revision: Send, &'a Projection: Send,

§

impl<'a, Revision, Projection> Sync for SynchronizedViewRead<'a, Revision, Projection>
where Revision: Sync, &'a Projection: Sync,

§

impl<'a, Revision, Projection> Unpin for SynchronizedViewRead<'a, Revision, Projection>
where Revision: Unpin, &'a Projection: Unpin,

§

impl<'a, Revision, Projection> UnsafeUnpin for SynchronizedViewRead<'a, Revision, Projection>

§

impl<'a, Revision, Projection> UnwindSafe for SynchronizedViewRead<'a, Revision, Projection>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.