pub enum OpHeadResolutionError<E> {
NoHeads,
Err(E),
}
Variants§
Trait Implementations§
source§impl<E: Debug> Debug for OpHeadResolutionError<E>
impl<E: Debug> Debug for OpHeadResolutionError<E>
source§impl<E> Display for OpHeadResolutionError<E>where
E: Display,
impl<E> Display for OpHeadResolutionError<E>where E: Display,
source§impl<E> Error for OpHeadResolutionError<E>where
E: Error + 'static,
Self: Debug + Display,
impl<E> Error for OpHeadResolutionError<E>where E: Error + 'static, Self: Debug + Display,
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<E> From<E> for OpHeadResolutionError<E>
impl<E> From<E> for OpHeadResolutionError<E>
source§impl<E: PartialEq> PartialEq<OpHeadResolutionError<E>> for OpHeadResolutionError<E>
impl<E: PartialEq> PartialEq<OpHeadResolutionError<E>> for OpHeadResolutionError<E>
source§fn eq(&self, other: &OpHeadResolutionError<E>) -> bool
fn eq(&self, other: &OpHeadResolutionError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E: Eq> Eq for OpHeadResolutionError<E>
impl<E> StructuralEq for OpHeadResolutionError<E>
impl<E> StructuralPartialEq for OpHeadResolutionError<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for OpHeadResolutionError<E>where E: RefUnwindSafe,
impl<E> Send for OpHeadResolutionError<E>where E: Send,
impl<E> Sync for OpHeadResolutionError<E>where E: Sync,
impl<E> Unpin for OpHeadResolutionError<E>where E: Unpin,
impl<E> UnwindSafe for OpHeadResolutionError<E>where E: UnwindSafe,
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
§impl<T> FromFd for Twhere
T: From<OwnedFd>,
impl<T> FromFd for Twhere T: From<OwnedFd>,
§impl<T> FromFilelike for Twhere
T: From<OwnedFd>,
impl<T> FromFilelike for Twhere T: From<OwnedFd>,
§fn from_filelike(owned: OwnedFd) -> T
fn from_filelike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given filelike object. Read more§fn from_into_filelike<Owned>(owned: Owned) -> Twhere
Owned: IntoFilelike,
fn from_into_filelike<Owned>(owned: Owned) -> Twhere Owned: IntoFilelike,
Constructs a new instance of
Self
from the given filelike object
converted from into_owned
. Read more§impl<T> FromSocketlike for Twhere
T: From<OwnedFd>,
impl<T> FromSocketlike for Twhere T: From<OwnedFd>,
§fn from_socketlike(owned: OwnedFd) -> T
fn from_socketlike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given socketlike object.§fn from_into_socketlike<Owned>(owned: Owned) -> Twhere
Owned: IntoSocketlike,
fn from_into_socketlike<Owned>(owned: Owned) -> Twhere Owned: IntoSocketlike,
Constructs a new instance of
Self
from the given socketlike object
converted from into_owned
.