pub enum HashIdentifierError {
Empty,
InvalidSingleByteValue {
actual: u8,
},
}Expand description
Error type for hash identifiers.
Variants§
Empty
Hash identifiers must not be empty.
InvalidSingleByteValue
One-byte identifiers are reserved for internal special values.
Trait Implementations§
Source§impl Clone for HashIdentifierError
impl Clone for HashIdentifierError
Source§fn clone(&self) -> HashIdentifierError
fn clone(&self) -> HashIdentifierError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HashIdentifierError
Source§impl Debug for HashIdentifierError
impl Debug for HashIdentifierError
Source§impl Display for HashIdentifierError
impl Display for HashIdentifierError
impl Eq for HashIdentifierError
Source§impl PartialEq for HashIdentifierError
impl PartialEq for HashIdentifierError
impl StructuralPartialEq for HashIdentifierError
Auto Trait Implementations§
impl Forget for HashIdentifierError
impl Freeze for HashIdentifierError
impl Move for HashIdentifierError
impl RefUnwindSafe for HashIdentifierError
impl Send for HashIdentifierError
impl Sync for HashIdentifierError
impl Unpin for HashIdentifierError
impl UnsafeUnpin for HashIdentifierError
impl UnwindSafe for HashIdentifierError
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