pub enum RingError {
Full,
InvalidPayload,
}Expand description
Errors produced by the ring producer.
Variants§
Full
The ring is full (consumer has not caught up). The producer SHOULD publish a frame before emitting further opcodes.
InvalidPayload
An opcode payload could not be encoded (e.g. an invalid attributed-text range or oversized text). The producer should fix the payload.
Trait Implementations§
impl Copy for RingError
impl Eq for RingError
impl StructuralPartialEq for RingError
Auto Trait Implementations§
impl Forget for RingError
impl Freeze for RingError
impl RefUnwindSafe for RingError
impl Send for RingError
impl Sync for RingError
impl Unpin for RingError
impl UnsafeUnpin for RingError
impl UnwindSafe for RingError
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