pub enum PortMatcherError {
InvalidPortRange,
}
Expand description
Errors when creating a PortMatcher
.
Variants§
InvalidPortRange
Trait Implementations§
source§impl Debug for PortMatcherError
impl Debug for PortMatcherError
source§impl Display for PortMatcherError
impl Display for PortMatcherError
source§impl Error for PortMatcherError
impl Error for PortMatcherError
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 PartialEq for PortMatcherError
impl PartialEq for PortMatcherError
source§fn eq(&self, other: &PortMatcherError) -> bool
fn eq(&self, other: &PortMatcherError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PortMatcherError
Auto Trait Implementations§
impl Freeze for PortMatcherError
impl RefUnwindSafe for PortMatcherError
impl Send for PortMatcherError
impl Sync for PortMatcherError
impl Unpin for PortMatcherError
impl UnwindSafe for PortMatcherError
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
source§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
source§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.