pub enum BlockState {
Live,
Orphaned,
Deleted,
}Expand description
Block lifecycle state
Variants§
Live
Reachable from document root
Orphaned
Not reachable from root but not deleted
Deleted
Marked for garbage collection
Trait Implementations§
Source§impl Clone for BlockState
impl Clone for BlockState
Source§fn clone(&self) -> BlockState
fn clone(&self) -> BlockState
Returns a duplicate of the value. Read more
1.0.0 · 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 BlockState
impl Debug for BlockState
Source§impl Display for BlockState
impl Display for BlockState
Source§impl PartialEq for BlockState
impl PartialEq for BlockState
impl Copy for BlockState
impl Eq for BlockState
impl StructuralPartialEq for BlockState
Auto Trait Implementations§
impl Freeze for BlockState
impl RefUnwindSafe for BlockState
impl Send for BlockState
impl Sync for BlockState
impl Unpin for BlockState
impl UnwindSafe for BlockState
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