pub enum PrintDltError {
UnknownInterface(String),
}
Expand description
Error printing DLTs to Wireshark.
Variants§
UnknownInterface(String)
The interface string value given from Wireshark is not found. Wireshark invokes the extcap program multiple times, first to get the list of interfaces, then multiple times to get the DLTs. Therefore, implementations should make sure that the list of interfaces stay consistent, or be prepared to gracefully handle this error.
Trait Implementations§
Source§impl Debug for PrintDltError
impl Debug for PrintDltError
Source§impl Display for PrintDltError
impl Display for PrintDltError
Source§impl Error for PrintDltError
impl Error for PrintDltError
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()
Auto Trait Implementations§
impl Freeze for PrintDltError
impl RefUnwindSafe for PrintDltError
impl Send for PrintDltError
impl Sync for PrintDltError
impl Unpin for PrintDltError
impl UnwindSafe for PrintDltError
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