Struct AsyncFdTryNewError

pub struct AsyncFdTryNewError<T> { /* private fields */ }

Error returned by try_new or try_with_interest.

Implementations

impl<T> AsyncFdTryNewError<T>

fn into_parts(self) -> (T, Error)

Returns the original object passed to try_new or try_with_interest alongside the error that caused these functions to fail.

Trait Implementations

impl<T> Debug for AsyncFdTryNewError<T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T> Display for AsyncFdTryNewError<T>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<T> Error for AsyncFdTryNewError<T>

fn source(&self) -> Option<&dyn Error + 'static>

Auto Trait Implementations

impl<T> !RefUnwindSafe for AsyncFdTryNewError<T>

impl<T> !UnwindSafe for AsyncFdTryNewError<T>

impl<T> Freeze for AsyncFdTryNewError<T> where T: Freeze,

impl<T> Send for AsyncFdTryNewError<T> where T: Send,

impl<T> Sync for AsyncFdTryNewError<T> where T: Sync,

impl<T> Unpin for AsyncFdTryNewError<T> where T: Unpin,

impl<T> UnsafeUnpin for AsyncFdTryNewError<T> where T: UnsafeUnpin,

Blanket Implementations

impl<T> Any for AsyncFdTryNewError<T> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for AsyncFdTryNewError<T> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for AsyncFdTryNewError<T> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for AsyncFdTryNewError<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for AsyncFdTryNewError<T> where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for AsyncFdTryNewError<T> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for AsyncFdTryNewError<T> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for AsyncFdTryNewError<T> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>