pub enum FragmentationError {
DataTooLong,
PacketSizeTooSmall,
}Expand description
An error that occured while fragmenting a CTAPHID message into packets.
Variants§
DataTooLong
The message data is too long to be expressed in CTAPHID packets.
PacketSizeTooSmall
The packet size is too small to fit CTAPHID packet.
Trait Implementations§
Source§impl Clone for FragmentationError
impl Clone for FragmentationError
Source§fn clone(&self) -> FragmentationError
fn clone(&self) -> FragmentationError
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 FragmentationError
impl Debug for FragmentationError
Source§impl Display for FragmentationError
impl Display for FragmentationError
Source§impl Error for FragmentationError
impl Error for FragmentationError
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 Ord for FragmentationError
impl Ord for FragmentationError
Source§fn cmp(&self, other: &FragmentationError) -> Ordering
fn cmp(&self, other: &FragmentationError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FragmentationError
impl PartialEq for FragmentationError
Source§impl PartialOrd for FragmentationError
impl PartialOrd for FragmentationError
impl Copy for FragmentationError
impl Eq for FragmentationError
impl StructuralPartialEq for FragmentationError
Auto Trait Implementations§
impl Freeze for FragmentationError
impl RefUnwindSafe for FragmentationError
impl Send for FragmentationError
impl Sync for FragmentationError
impl Unpin for FragmentationError
impl UnwindSafe for FragmentationError
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