pub struct U256CastError { /* private fields */ }Implementations§
Source§impl U256CastError
impl U256CastError
pub fn new<T: Into<U256>>(val: T, kind: U256CastErrorKind) -> Self
Trait Implementations§
Source§impl Debug for U256CastError
impl Debug for U256CastError
Source§impl Display for U256CastError
impl Display for U256CastError
Source§impl Error for U256CastError
impl Error for U256CastError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for U256CastError
impl RefUnwindSafe for U256CastError
impl Send for U256CastError
impl Sync for U256CastError
impl Unpin for U256CastError
impl UnwindSafe for U256CastError
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