#[non_exhaustive]pub struct UnixAddrNotAPath;
Available on crate feature
address
only.Expand description
Error returned when trying to convert a non-path unix::SocketAddr
into a CfgAddr
.
Trait Implementations§
Source§impl Clone for UnixAddrNotAPath
impl Clone for UnixAddrNotAPath
Source§fn clone(&self) -> UnixAddrNotAPath
fn clone(&self) -> UnixAddrNotAPath
Returns a duplicate 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 UnixAddrNotAPath
impl Debug for UnixAddrNotAPath
Source§impl Default for UnixAddrNotAPath
impl Default for UnixAddrNotAPath
Source§fn default() -> UnixAddrNotAPath
fn default() -> UnixAddrNotAPath
Returns the “default value” for a type. Read more
Source§impl Display for UnixAddrNotAPath
impl Display for UnixAddrNotAPath
Source§impl Error for UnixAddrNotAPath
impl Error for UnixAddrNotAPath
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for UnixAddrNotAPath
impl RefUnwindSafe for UnixAddrNotAPath
impl Send for UnixAddrNotAPath
impl Sync for UnixAddrNotAPath
impl Unpin for UnixAddrNotAPath
impl UnwindSafe for UnixAddrNotAPath
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<E> ErrorReport for Ewhere
E: Error + 'static,
impl<E> ErrorReport for Ewhere
E: Error + 'static,
Source§fn report(&self) -> Report<ReportHelper<'_>>
fn report(&self) -> Report<ReportHelper<'_>>
Return an object that displays the error and its causes
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>
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes