pub enum ExtcapError {
NotExtcapInput,
CaptureError(CaptureError),
}
Expand description
Error reported when running ExtcapArgs::run
.
Variants§
NotExtcapInput
The inputs given are not expected input from Wireshark. This can happen
for example, when the user tries to run the application directly from
command line. When this happens, you can print out the
installation_instructions
, to help the user install this in the
right location.
CaptureError(CaptureError)
Error when capturing packets. See CaptureError
.
Trait Implementations§
Source§impl Debug for ExtcapError
impl Debug for ExtcapError
Source§impl Display for ExtcapError
impl Display for ExtcapError
Source§impl Error for ExtcapError
impl Error for ExtcapError
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 From<CaptureError> for ExtcapError
impl From<CaptureError> for ExtcapError
Source§fn from(source: CaptureError) -> Self
fn from(source: CaptureError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExtcapError
impl !RefUnwindSafe for ExtcapError
impl Send for ExtcapError
impl Sync for ExtcapError
impl Unpin for ExtcapError
impl !UnwindSafe for ExtcapError
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