pub struct AsyncFdTryNewError<T> { /* private fields */ }Available on Unix and crate feature
net only.Expand description
Error returned by try_new or try_with_interest.
Implementations§
Source§impl<T> AsyncFdTryNewError<T>
impl<T> AsyncFdTryNewError<T>
Sourcepub fn into_parts(self) -> (T, Error)
Available on non-loom only.
pub fn into_parts(self) -> (T, Error)
loom only.Returns the original object passed to try_new or try_with_interest
alongside the error that caused these functions to fail.
Trait Implementations§
Source§impl<T> Debug for AsyncFdTryNewError<T>
Available on non-loom only.
impl<T> Debug for AsyncFdTryNewError<T>
Available on non-
loom only.Source§impl<T> Display for AsyncFdTryNewError<T>
Available on non-loom only.
impl<T> Display for AsyncFdTryNewError<T>
Available on non-
loom only.Source§impl<T> Error for AsyncFdTryNewError<T>
Available on non-loom only.
impl<T> Error for AsyncFdTryNewError<T>
Available on non-
loom only.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()
Source§impl<T> From<AsyncFdTryNewError<T>> for Error
Available on non-loom only.
impl<T> From<AsyncFdTryNewError<T>> for Error
Available on non-
loom only.Source§fn from(value: AsyncFdTryNewError<T>) -> Self
fn from(value: AsyncFdTryNewError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for AsyncFdTryNewError<T>where
T: Freeze,
Available on non-
loom only.impl<T> !RefUnwindSafe for AsyncFdTryNewError<T>
Available on non-
loom only.impl<T> Send for AsyncFdTryNewError<T>where
T: Send,
Available on non-
loom only.impl<T> Sync for AsyncFdTryNewError<T>where
T: Sync,
Available on non-
loom only.impl<T> Unpin for AsyncFdTryNewError<T>where
T: Unpin,
Available on non-
loom only.impl<T> UnsafeUnpin for AsyncFdTryNewError<T>where
T: UnsafeUnpin,
Available on non-
loom only.impl<T> !UnwindSafe for AsyncFdTryNewError<T>
Available on non-
loom only.Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on non-loom only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on non-
loom only.Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
Available on non-loom only.
impl<T> Instrument for T
Available on non-
loom only.§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> WithSubscriber for T
Available on non-loom only.
impl<T> WithSubscriber for T
Available on non-
loom only.