Struct spf_milter::ParseSocketError
source · pub struct ParseSocketError;
Expand description
An error indicating that a socket could not be parsed.
Trait Implementations§
source§impl Clone for ParseSocketError
impl Clone for ParseSocketError
source§fn clone(&self) -> ParseSocketError
fn clone(&self) -> ParseSocketError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseSocketError
impl Debug for ParseSocketError
source§impl Default for ParseSocketError
impl Default for ParseSocketError
source§fn default() -> ParseSocketError
fn default() -> ParseSocketError
Returns the “default value” for a type. Read more
source§impl Display for ParseSocketError
impl Display for ParseSocketError
source§impl Error for ParseSocketError
impl Error for ParseSocketError
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 Hash for ParseSocketError
impl Hash for ParseSocketError
source§impl PartialEq<ParseSocketError> for ParseSocketError
impl PartialEq<ParseSocketError> for ParseSocketError
source§fn eq(&self, other: &ParseSocketError) -> bool
fn eq(&self, other: &ParseSocketError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ParseSocketError
impl Eq for ParseSocketError
impl StructuralEq for ParseSocketError
impl StructuralPartialEq for ParseSocketError
Auto Trait Implementations§
impl RefUnwindSafe for ParseSocketError
impl Send for ParseSocketError
impl Sync for ParseSocketError
impl Unpin for ParseSocketError
impl UnwindSafe for ParseSocketError
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
§fn try_octets_into(
self
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
§fn octets_into(self) -> Targetwhere
Self::Error: Into<Infallible>,
fn octets_into(self) -> Targetwhere Self::Error: Into<Infallible>,
Performs an infallible conversion.