pub enum NodeIdFromSwhidError<E> {
InvalidSwhid(E),
UnknownSwhid(SWHID),
InternalError(&'static str),
}
Variants§
Trait Implementations§
source§impl<E: Debug> Debug for NodeIdFromSwhidError<E>
impl<E: Debug> Debug for NodeIdFromSwhidError<E>
source§impl<E> Display for NodeIdFromSwhidError<E>
impl<E> Display for NodeIdFromSwhidError<E>
source§impl<E> Error for NodeIdFromSwhidError<E>where
Self: Debug + Display,
impl<E> Error for NodeIdFromSwhidError<E>where Self: Debug + Display,
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<E: Hash> Hash for NodeIdFromSwhidError<E>
impl<E: Hash> Hash for NodeIdFromSwhidError<E>
source§impl<E: PartialEq> PartialEq for NodeIdFromSwhidError<E>
impl<E: PartialEq> PartialEq for NodeIdFromSwhidError<E>
source§fn eq(&self, other: &NodeIdFromSwhidError<E>) -> bool
fn eq(&self, other: &NodeIdFromSwhidError<E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<E: Eq> Eq for NodeIdFromSwhidError<E>
impl<E> StructuralEq for NodeIdFromSwhidError<E>
impl<E> StructuralPartialEq for NodeIdFromSwhidError<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for NodeIdFromSwhidError<E>where E: RefUnwindSafe,
impl<E> Send for NodeIdFromSwhidError<E>where E: Send,
impl<E> Sync for NodeIdFromSwhidError<E>where E: Sync,
impl<E> Unpin for NodeIdFromSwhidError<E>where E: Unpin,
impl<E> UnwindSafe for NodeIdFromSwhidError<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, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere U: CastableFrom<T>,
§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere U: DowncastableFrom<T>,
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.