Enum ip_spoofing::Error
source · pub enum Error {
IO(Error),
Nix(Error),
EtherparseValue(ValueError),
EtherparseWrite(WriteError),
}Expand description
Describes possible errors that might happen when user interacts with this crate
Variants§
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ValueError> for Error
impl From<ValueError> for Error
source§fn from(source: ValueError) -> Self
fn from(source: ValueError) -> Self
Converts to this type from the input type.
source§impl From<WriteError> for Error
impl From<WriteError> for Error
source§fn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Converts to this type from the input type.