#[non_exhaustive]pub enum StreamInputApdu<'a> {
DeliverySystemInfoReq(DeliverySystemInfoReq),
DeliverySystemInfoAck(DeliverySystemInfoAck),
ScanStartReq(ScanStartReq),
ScanNextReq(ScanNextReq),
ScanAck(ScanAck<'a>),
TuneTSReq(TuneTSReq<'a>),
TuneTSAck(TuneTSAck),
}Expand description
Resource-scoped dispatch over the StreamInput objects (Tables 13-20).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DeliverySystemInfoReq(DeliverySystemInfoReq)
DeliverySystemInfoReq (9F 80 00).
DeliverySystemInfoAck(DeliverySystemInfoAck)
DeliverySystemInfoAck (9F 80 01).
ScanStartReq(ScanStartReq)
ScanStartReq (9F 80 02).
ScanNextReq(ScanNextReq)
ScanNextReq (9F 80 03).
ScanAck(ScanAck<'a>)
ScanAck (9F 80 04).
TuneTSReq(TuneTSReq<'a>)
TuneTSReq (9F 80 05).
TuneTSAck(TuneTSAck)
TuneTSAck (9F 80 06).
Implementations§
Trait Implementations§
Source§impl<'a> Clone for StreamInputApdu<'a>
impl<'a> Clone for StreamInputApdu<'a>
Source§impl<'a> Debug for StreamInputApdu<'a>
impl<'a> Debug for StreamInputApdu<'a>
impl<'a> Eq for StreamInputApdu<'a>
Source§impl<'a> PartialEq for StreamInputApdu<'a>
impl<'a> PartialEq for StreamInputApdu<'a>
Source§impl<'a> Serialize for StreamInputApdu<'a>
impl<'a> Serialize for StreamInputApdu<'a>
Source§impl<'a> Serialize for StreamInputApdu<'a>
impl<'a> Serialize for StreamInputApdu<'a>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.Source§fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Write the serialised form into
buf. Returns the number of bytes
written (always equal to serialized_len()).Source§fn try_to_bytes(&self) -> Result<Vec<u8>, Self::Error>
fn try_to_bytes(&self) -> Result<Vec<u8>, Self::Error>
Allocate a
Vec and serialize into it, returning the serializer’s error instead of
panicking. This is the only
allocate-and-serialize entry point: there is deliberately no panicking
to_bytes (hand-built values, or values assembled from damaged wire data,
can violate a wire constraint, so the error must reach the caller).impl<'a> StructuralPartialEq for StreamInputApdu<'a>
Auto Trait Implementations§
impl<'a> Forget for StreamInputApdu<'a>
impl<'a> Freeze for StreamInputApdu<'a>
impl<'a> Move for StreamInputApdu<'a>
impl<'a> RefUnwindSafe for StreamInputApdu<'a>
impl<'a> Send for StreamInputApdu<'a>
impl<'a> Sync for StreamInputApdu<'a>
impl<'a> Unpin for StreamInputApdu<'a>
impl<'a> UnsafeUnpin for StreamInputApdu<'a>
impl<'a> UnwindSafe for StreamInputApdu<'a>
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