pub struct Log<P: Ord> { /* private fields */ }Expand description
The set of messages log-delivered, in stable storage.
Ordered, so that reading it is deterministic and two processes holding the same set see it the same way — the ordered-maps rule applies to what is written down as much as to what is held.
Implementations§
Trait Implementations§
Source§impl<'de, P> Deserialize<'de> for Log<P>where
P: Ord + Deserialize<'de>,
impl<'de, P> Deserialize<'de> for Log<P>where
P: Ord + Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<P: Eq + Ord> Eq for Log<P>
impl<P: PartialEq + Ord> StructuralPartialEq for Log<P>
Auto Trait Implementations§
impl<P> Freeze for Log<P>
impl<P> RefUnwindSafe for Log<P>where
P: RefUnwindSafe,
impl<P> Send for Log<P>where
P: Send,
impl<P> Sync for Log<P>where
P: Sync,
impl<P> Unpin for Log<P>
impl<P> UnsafeUnpin for Log<P>
impl<P> UnwindSafe for Log<P>where
P: RefUnwindSafe,
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