pub enum RingBufferError {
InsufficientCapacity,
MessageTooLong {
msg: Index,
max: Index,
},
NonPositiveMessageTypeId(i32),
CapacityIsNotTwoPower {
capacity: Index,
},
}
Variants§
Trait Implementations§
Source§impl Clone for RingBufferError
impl Clone for RingBufferError
Source§fn clone(&self) -> RingBufferError
fn clone(&self) -> RingBufferError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RingBufferError
impl Debug for RingBufferError
Source§impl Display for RingBufferError
impl Display for RingBufferError
Source§impl Error for RingBufferError
impl Error for RingBufferError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<RingBufferError> for AeronError
impl From<RingBufferError> for AeronError
Source§fn from(source: RingBufferError) -> Self
fn from(source: RingBufferError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RingBufferError
impl PartialEq for RingBufferError
impl Copy for RingBufferError
impl StructuralPartialEq for RingBufferError
Auto Trait Implementations§
impl Freeze for RingBufferError
impl RefUnwindSafe for RingBufferError
impl Send for RingBufferError
impl Sync for RingBufferError
impl Unpin for RingBufferError
impl UnwindSafe for RingBufferError
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