Enum crab_nat::MappingFailure
source · pub enum MappingFailure {
NatPmp(Failure),
Pcp(Failure),
}
Expand description
Errors that occur during the respective port mapping protocols.
Variants§
Trait Implementations§
source§impl Debug for MappingFailure
impl Debug for MappingFailure
source§impl Display for MappingFailure
impl Display for MappingFailure
source§impl Error for MappingFailure
impl Error for MappingFailure
1.30.0 · 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<Failure> for MappingFailure
impl From<Failure> for MappingFailure
Auto Trait Implementations§
impl Freeze for MappingFailure
impl !RefUnwindSafe for MappingFailure
impl Send for MappingFailure
impl Sync for MappingFailure
impl Unpin for MappingFailure
impl !UnwindSafe for MappingFailure
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