pub enum DataLinkError {
Io(Error),
FrameTooLarge,
InvalidFrame,
UnsupportedBvlcFunction(u8),
BvlcResult(u16),
BbmdNotConfigured,
}Expand description
Errors that can occur at the data-link layer.
Variants§
Trait Implementations§
Source§impl Debug for DataLinkError
impl Debug for DataLinkError
Source§impl Display for DataLinkError
impl Display for DataLinkError
Source§impl Error for DataLinkError
impl Error for DataLinkError
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()
Auto Trait Implementations§
impl Freeze for DataLinkError
impl !RefUnwindSafe for DataLinkError
impl Send for DataLinkError
impl Sync for DataLinkError
impl Unpin for DataLinkError
impl UnsafeUnpin for DataLinkError
impl !UnwindSafe for DataLinkError
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