pub enum PrincipalEncodeError {
TooLarge {
len: usize,
max: usize,
},
}Expand description
Failure while exposing canonical principal bytes.
Variants§
TooLarge
A principal cannot exceed its canonical maximum.
Trait Implementations§
Source§impl Clone for PrincipalEncodeError
impl Clone for PrincipalEncodeError
Source§fn clone(&self) -> PrincipalEncodeError
fn clone(&self) -> PrincipalEncodeError
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 PrincipalEncodeError
Source§impl Debug for PrincipalEncodeError
impl Debug for PrincipalEncodeError
impl Eq for PrincipalEncodeError
Source§impl PartialEq for PrincipalEncodeError
impl PartialEq for PrincipalEncodeError
impl StructuralPartialEq for PrincipalEncodeError
Auto Trait Implementations§
impl Freeze for PrincipalEncodeError
impl RefUnwindSafe for PrincipalEncodeError
impl Send for PrincipalEncodeError
impl Sync for PrincipalEncodeError
impl Unpin for PrincipalEncodeError
impl UnsafeUnpin for PrincipalEncodeError
impl UnwindSafe for PrincipalEncodeError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.