pub enum Presence {
Present,
GapPending,
Unavailable,
}Expand description
Presence of a message’s ordered transcript slot.
Orthogonal to CompletionStatus: a Present message may still be
Partial (fragments outstanding), and a GapPending placeholder carries
no body at all.
Variants§
Present
A real message occupies the slot.
GapPending
A gap was detected; the slot is reserved and a repair is outstanding.
The gap could not be repaired (exhausted, expired, or disclaimed by the sender); the slot is a permanent loss marker.
Trait Implementations§
impl Copy for Presence
impl Eq for Presence
impl StructuralPartialEq for Presence
Auto Trait Implementations§
impl Freeze for Presence
impl RefUnwindSafe for Presence
impl Send for Presence
impl Sync for Presence
impl Unpin for Presence
impl UnwindSafe for Presence
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)