Enum iptables::error::IPTError
[−]
[src]
pub enum IPTError { Io(Error), Regex(Error), Nix(Error), Parse(ParseIntError), Other(&'static str), }
Defines the general error type of iptables crate
Variants
Io(Error)
Regex(Error)
Nix(Error)
Parse(ParseIntError)
Other(&'static str)
Trait Implementations
impl Debug for IPTError
[src]
impl Display for IPTError
[src]
impl Error for IPTError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for IPTError
[src]
impl From<Error> for IPTError
[src]
impl From<Error> for IPTError
[src]
impl From<ParseIntError> for IPTError
[src]
fn from(err: ParseIntError) -> Self
Performs the conversion.