pub enum PcapNGOptionError {
InvalidLength,
Utf8Error,
}
Expand description
The error type which is returned when calling functions on PcapNGOption
Variants§
Trait Implementations§
Source§impl Debug for PcapNGOptionError
impl Debug for PcapNGOptionError
Source§impl Display for PcapNGOptionError
impl Display for PcapNGOptionError
Source§impl Error for PcapNGOptionError
impl Error for PcapNGOptionError
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 PartialEq for PcapNGOptionError
impl PartialEq for PcapNGOptionError
impl StructuralPartialEq for PcapNGOptionError
Auto Trait Implementations§
impl Freeze for PcapNGOptionError
impl RefUnwindSafe for PcapNGOptionError
impl Send for PcapNGOptionError
impl Sync for PcapNGOptionError
impl Unpin for PcapNGOptionError
impl UnwindSafe for PcapNGOptionError
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