Enum ctaphid_types::DefragmentedMessage [−][src]
pub enum DefragmentedMessage<T: AsRef<[u8]> + Default + Extend<u8>> {
Complete(Message<T>),
Partial(PartialMessage<T>),
}
Expand description
A complete or partial message obtained by assembling one or more CTAPHID packets.
Variants
Complete(Message<T>)
Tuple Fields
0: Message<T>
A complete message.
Partial(PartialMessage<T>)
Tuple Fields
0: PartialMessage<T>
A partial message.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T: PartialOrd + AsRef<[u8]> + Default + Extend<u8>> PartialOrd<DefragmentedMessage<T>> for DefragmentedMessage<T>
impl<T: PartialOrd + AsRef<[u8]> + Default + Extend<u8>> PartialOrd<DefragmentedMessage<T>> for DefragmentedMessage<T>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for DefragmentedMessage<T> where
T: RefUnwindSafe,
impl<T> Send for DefragmentedMessage<T> where
T: Send,
impl<T> Sync for DefragmentedMessage<T> where
T: Sync,
impl<T> Unpin for DefragmentedMessage<T> where
T: Unpin,
impl<T> UnwindSafe for DefragmentedMessage<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more