Struct fuel_vm::error::Infallible
source · pub struct Infallible(_);
Expand description
Infallible implementation that converts into io::Error
.
Trait Implementations§
source§impl Clone for Infallible
impl Clone for Infallible
source§fn clone(&self) -> Infallible
fn clone(&self) -> Infallible
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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 Error for Infallible
impl Error for Infallible
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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 Infalliblewhere
E: Into<StdInfallible>,
impl<E> From<E> for Infalliblewhere E: Into<StdInfallible>,
source§fn from(e: E) -> Infallible
fn from(e: E) -> Infallible
Converts to this type from the input type.
source§impl From<Infallible> for Error
impl From<Infallible> for Error
source§fn from(_e: Infallible) -> Error
fn from(_e: Infallible) -> Error
Converts to this type from the input type.
source§impl From<Infallible> for InterpreterError
impl From<Infallible> for InterpreterError
source§fn from(_e: Infallible) -> InterpreterError
fn from(_e: Infallible) -> InterpreterError
Converts to this type from the input type.
source§impl From<Infallible> for PanicReason
impl From<Infallible> for PanicReason
source§fn from(_e: Infallible) -> PanicReason
fn from(_e: Infallible) -> PanicReason
Converts to this type from the input type.
source§impl From<Infallible> for RuntimeError
impl From<Infallible> for RuntimeError
source§fn from(_e: Infallible) -> RuntimeError
fn from(_e: Infallible) -> RuntimeError
Converts to this type from the input type.
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<Infallible> for Infallible
impl PartialEq<Infallible> for Infallible
source§fn eq(&self, other: &Infallible) -> bool
fn eq(&self, other: &Infallible) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Infallible> for Infallible
impl PartialOrd<Infallible> for Infallible
source§fn partial_cmp(&self, other: &Infallible) -> Option<Ordering>
fn partial_cmp(&self, other: &Infallible) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Infallible
impl Eq for Infallible
impl StructuralEq for Infallible
impl StructuralPartialEq for Infallible
Auto Trait Implementations§
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> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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<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