pub enum Error {
TxFull,
FrameTooLarge,
NoFrame,
Phy(PhyError),
}Expand description
Error type returned by Ethernet operations.
Variants§
TxFull
TX ring has no available slot.
FrameTooLarge
Frame is larger than the DMA buffer.
NoFrame
No received frame is currently available.
Phy(PhyError)
PHY (initialization) error.
Trait Implementations§
impl Copy for Error
Available on crate feature
unstable only.impl Eq for Error
Available on crate feature
unstable only.impl StructuralPartialEq for Error
Available on crate feature
unstable only.Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)