pub enum AddressFailure {
InvalidRingElement,
PipelineFailure,
}Expand description
Failure modes from address.
Variants§
InvalidRingElement
The input bytes were not valid Amendment 43 canonical bytes (a canonical ring element is intrinsically ≤ 5 bytes — Witt level plus its little-endian coefficient — so every malformed or over-wide input falls here).
PipelineFailure
Defensive: foundation’s catamorphism returned a shape violation.
Trait Implementations§
Source§impl Clone for AddressFailure
impl Clone for AddressFailure
Source§fn clone(&self) -> AddressFailure
fn clone(&self) -> AddressFailure
Returns a duplicate 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 AddressFailure
impl Debug for AddressFailure
Source§impl PartialEq for AddressFailure
impl PartialEq for AddressFailure
impl Copy for AddressFailure
impl Eq for AddressFailure
impl StructuralPartialEq for AddressFailure
Auto Trait Implementations§
impl Freeze for AddressFailure
impl RefUnwindSafe for AddressFailure
impl Send for AddressFailure
impl Sync for AddressFailure
impl Unpin for AddressFailure
impl UnsafeUnpin for AddressFailure
impl UnwindSafe for AddressFailure
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