pub enum DescriptorError {
BufferTooLarge(BufferTooLarge),
RingFull,
NoFrame,
}Expand description
Ring-level transmit/receive submission errors.
Variants§
BufferTooLarge(BufferTooLarge)
Frame did not fit in the backing DMA buffer.
RingFull
The ring has no CPU-owned descriptor available right now.
NoFrame
No frame is available in the current RX descriptor.
Trait Implementations§
Source§impl Clone for DescriptorError
impl Clone for DescriptorError
Source§fn clone(&self) -> DescriptorError
fn clone(&self) -> DescriptorError
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 DescriptorError
impl Debug for DescriptorError
Source§impl PartialEq for DescriptorError
impl PartialEq for DescriptorError
impl Copy for DescriptorError
impl Eq for DescriptorError
impl StructuralPartialEq for DescriptorError
Auto Trait Implementations§
impl Freeze for DescriptorError
impl RefUnwindSafe for DescriptorError
impl Send for DescriptorError
impl Sync for DescriptorError
impl Unpin for DescriptorError
impl UnsafeUnpin for DescriptorError
impl UnwindSafe for DescriptorError
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