pub enum Infallible {}
Expand description
Error type indicating that an operation can’t fail.
Trait Implementations§
Source§impl Clone for Infallible
impl Clone for Infallible
Source§fn clone(&self) -> Infallible
fn clone(&self) -> Infallible
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Infallible
impl Debug for Infallible
Source§impl Display for Infallible
impl Display for Infallible
Source§impl Hash for Infallible
impl Hash for Infallible
Source§impl Ord for Infallible
impl Ord for Infallible
Source§fn cmp(&self, other: &Infallible) -> Ordering
fn cmp(&self, other: &Infallible) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Infallible
impl PartialEq for Infallible
Source§impl PartialOrd for Infallible
impl PartialOrd for Infallible
impl Copy for Infallible
impl Eq for Infallible
impl StructuralPartialEq for Infallible
Auto Trait Implementations§
impl Freeze for Infallible
impl RefUnwindSafe for Infallible
impl Send for Infallible
impl Sync for Infallible
impl Unpin for Infallible
impl UnwindSafe for Infallible
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.