pub struct NotEnoughSpaceError;Expand description
Returned when a BytearrayRingbuffer::push cannot store data without dropping older packets.
For BytearrayRingbuffer::push, this means the unused region is too small. For
BytearrayRingbuffer::push_force, this is only returned when data.len() > N - 8 (a single
packet cannot fit in the buffer at all).
Trait Implementations§
Source§impl Clone for NotEnoughSpaceError
impl Clone for NotEnoughSpaceError
Source§fn clone(&self) -> NotEnoughSpaceError
fn clone(&self) -> NotEnoughSpaceError
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 NotEnoughSpaceError
impl Debug for NotEnoughSpaceError
impl Copy for NotEnoughSpaceError
Auto Trait Implementations§
impl Freeze for NotEnoughSpaceError
impl RefUnwindSafe for NotEnoughSpaceError
impl Send for NotEnoughSpaceError
impl Sync for NotEnoughSpaceError
impl Unpin for NotEnoughSpaceError
impl UnsafeUnpin for NotEnoughSpaceError
impl UnwindSafe for NotEnoughSpaceError
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