pub enum MultiFieldSpongeError {
FieldOrderNotIncreasing {
input_field: &'static str,
packing_field: &'static str,
},
}Expand description
Reasons a cross-field sponge cannot encode its input field injectively.
Variants§
FieldOrderNotIncreasing
The packing field is not strictly larger than the input field.
Trait Implementations§
Source§impl Clone for MultiFieldSpongeError
impl Clone for MultiFieldSpongeError
impl Copy for MultiFieldSpongeError
Source§impl Debug for MultiFieldSpongeError
impl Debug for MultiFieldSpongeError
Source§impl Display for MultiFieldSpongeError
impl Display for MultiFieldSpongeError
impl Eq for MultiFieldSpongeError
Source§impl Error for MultiFieldSpongeError
impl Error for MultiFieldSpongeError
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()
Source§impl PartialEq for MultiFieldSpongeError
impl PartialEq for MultiFieldSpongeError
impl StructuralPartialEq for MultiFieldSpongeError
Auto Trait Implementations§
impl Freeze for MultiFieldSpongeError
impl RefUnwindSafe for MultiFieldSpongeError
impl Send for MultiFieldSpongeError
impl Sync for MultiFieldSpongeError
impl Unpin for MultiFieldSpongeError
impl UnsafeUnpin for MultiFieldSpongeError
impl UnwindSafe for MultiFieldSpongeError
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more