Struct ctaphid_types::PartialMessage [−][src]
Expand description
A Message
that has been partially assembled from CTAPHID packets.
Implementations
pub fn extend<S: AsRef<[u8]>>(
self,
packet: &ContinuationPacket<S>
) -> Result<DefragmentedMessage<T>, DefragmentationError>
pub fn extend<S: AsRef<[u8]>>(
self,
packet: &ContinuationPacket<S>
) -> Result<DefragmentedMessage<T>, DefragmentationError>
Continues assembling a Message
using the given continuation packet.
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<PartialMessage<T>> for PartialMessage<T>
impl<T: PartialOrd + AsRef<[u8]> + Default + Extend<u8>> PartialOrd<PartialMessage<T>> for PartialMessage<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 PartialMessage<T> where
T: RefUnwindSafe,
impl<T> Send for PartialMessage<T> where
T: Send,
impl<T> Sync for PartialMessage<T> where
T: Sync,
impl<T> Unpin for PartialMessage<T> where
T: Unpin,
impl<T> UnwindSafe for PartialMessage<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more