Enum o1_utils::field_helpers::FieldHelpersError
source · pub enum FieldHelpersError {
DeserializeBytes,
DeserializeBits,
DecodeHex,
FromBigToField,
}
Expand description
Field helpers error
Variants§
Trait Implementations§
source§impl Clone for FieldHelpersError
impl Clone for FieldHelpersError
source§fn clone(&self) -> FieldHelpersError
fn clone(&self) -> FieldHelpersError
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 FieldHelpersError
impl Debug for FieldHelpersError
source§impl Display for FieldHelpersError
impl Display for FieldHelpersError
source§impl Error for FieldHelpersError
impl Error for FieldHelpersError
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 PartialEq<FieldHelpersError> for FieldHelpersError
impl PartialEq<FieldHelpersError> for FieldHelpersError
source§fn eq(&self, other: &FieldHelpersError) -> bool
fn eq(&self, other: &FieldHelpersError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FieldHelpersError
impl StructuralEq for FieldHelpersError
impl StructuralPartialEq for FieldHelpersError
Auto Trait Implementations§
impl RefUnwindSafe for FieldHelpersError
impl Send for FieldHelpersError
impl Sync for FieldHelpersError
impl Unpin for FieldHelpersError
impl UnwindSafe for FieldHelpersError
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<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