pub enum DecodedEntry<E> {
LogEntry(LogEntry<E>),
Expunged(Hash),
}Expand description
One decoded entry: a live log entry or an expunged-entry marker.
Variants§
LogEntry(LogEntry<E>)
A normal log entry.
Expunged(Hash)
A tombstone naming the hash of the entry that was expunged.
Trait Implementations§
Source§impl<E: Clone> Clone for DecodedEntry<E>
impl<E: Clone> Clone for DecodedEntry<E>
Source§fn clone(&self) -> DecodedEntry<E>
fn clone(&self) -> DecodedEntry<E>
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 moreAuto Trait Implementations§
impl<E> Freeze for DecodedEntry<E>where
E: Freeze,
impl<E> RefUnwindSafe for DecodedEntry<E>where
E: RefUnwindSafe,
impl<E> Send for DecodedEntry<E>where
E: Send,
impl<E> Sync for DecodedEntry<E>where
E: Sync,
impl<E> Unpin for DecodedEntry<E>where
E: Unpin,
impl<E> UnsafeUnpin for DecodedEntry<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for DecodedEntry<E>where
E: 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