pub enum Refused {
NotGreater,
Zero,
Full,
}Expand description
Why an append was refused.
Variants§
NotGreater
The ID is not greater than the last one in the stream.
Zero
The ID is zero, which no entry can have because nothing sorts below it.
Full
The stream is at Id::MAX and there is no next ID to hand out.
Trait Implementations§
impl Copy for Refused
impl Eq for Refused
impl StructuralPartialEq for Refused
Auto Trait Implementations§
impl Freeze for Refused
impl RefUnwindSafe for Refused
impl Send for Refused
impl Sync for Refused
impl Unpin for Refused
impl UnsafeUnpin for Refused
impl UnwindSafe for Refused
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