pub struct OrderedBlocks(/* private fields */);Expand description
The fact machine’s block log: append-only and order-preserving.
Implementations§
Source§impl OrderedBlocks
impl OrderedBlocks
Sourcepub fn as_slice(&self) -> &[ContextBlock]
pub fn as_slice(&self) -> &[ContextBlock]
Borrows the ordered blocks.
Sourcepub fn into_inner(self) -> Vec<ContextBlock>
pub fn into_inner(self) -> Vec<ContextBlock>
Consumes the log, returning the ordered blocks.
Trait Implementations§
Source§impl Clone for OrderedBlocks
impl Clone for OrderedBlocks
Source§fn clone(&self) -> OrderedBlocks
fn clone(&self) -> OrderedBlocks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrderedBlocks
impl Debug for OrderedBlocks
Source§impl<'de> Deserialize<'de> for OrderedBlocks
impl<'de> Deserialize<'de> for OrderedBlocks
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
Auto Trait Implementations§
impl Freeze for OrderedBlocks
impl RefUnwindSafe for OrderedBlocks
impl Send for OrderedBlocks
impl Sync for OrderedBlocks
impl Unpin for OrderedBlocks
impl UnsafeUnpin for OrderedBlocks
impl UnwindSafe for OrderedBlocks
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