Enum iroh_bytes::store::PossiblyPartialEntry
source · pub enum PossiblyPartialEntry<D: PartialMap> {
Complete(D::Entry),
Partial(D::PartialEntry),
NotFound,
}Expand description
An entry in a store that supports partial entries.
This correspnds to EntryStatus, but also includes the entry itself.
Variants§
Complete(D::Entry)
A complete entry.
Partial(D::PartialEntry)
A partial entry.
NotFound
We got nothing.
Trait Implementations§
Auto Trait Implementations§
impl<D> RefUnwindSafe for PossiblyPartialEntry<D>
impl<D> Send for PossiblyPartialEntry<D>
impl<D> Sync for PossiblyPartialEntry<D>
impl<D> Unpin for PossiblyPartialEntry<D>
impl<D> UnwindSafe for PossiblyPartialEntry<D>
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