pub struct Versioned<C, V>{
pub version: VClock<C>,
pub value: Option<V>,
}Fields§
§version: VClock<C>§value: Option<V>Trait Implementations§
Auto Trait Implementations§
impl<C, V> Freeze for Versioned<C, V>where
V: Freeze,
impl<C, V> RefUnwindSafe for Versioned<C, V>where
V: RefUnwindSafe,
C: RefUnwindSafe,
impl<C, V> Send for Versioned<C, V>
impl<C, V> Sync for Versioned<C, V>
impl<C, V> Unpin for Versioned<C, V>
impl<C, V> UnwindSafe for Versioned<C, V>where
V: UnwindSafe,
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more