Struct ethers::core::k256::elliptic_curve::bigint::Checked [−][src]
pub struct Checked<T>(pub CtOption<T>);
Expand description
Provides intentionally-checked arithmetic on T
.
Internally this leverages the CtOption
type from the [subtle
] crate
in order to handle overflows in constant time.
Tuple Fields
0: CtOption<T>
Implementations
Methods from Deref<Target = CtOption<T>>
Trait Implementations
Performs the +=
operation. Read more
Performs the *=
operation. Read more
Performs the -=
operation. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Checked<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Checked<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more