pub struct DecodedApdu {
pub pdu_type: String,
pub invoke_id: Option<u8>,
pub segmented: bool,
pub service_name: String,
pub service: Option<String>,
pub problem: Option<String>,
pub device: Option<u32>,
}Expand description
Decoded application layer.
Fields§
§pdu_type: StringThe PDU type, such as Confirmed-Request.
invoke_id: Option<u8>The invoke ID, for a PDU that carries one.
segmented: boolThe segmented-message flag.
service_name: StringThe service as the one-shot capture prints it, such as
READ_PROPERTY-ACK.
service: Option<String>The service the PDU belongs to, without -ACK or -Error; None
for a Segment-ACK, a Reject or an Abort, which don’t carry one.
problem: Option<String>What went wrong: an Error’s class and code, a Reject’s or an Abort’s reason.
device: Option<u32>The device instance an I-Am announces.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecodedApdu
impl RefUnwindSafe for DecodedApdu
impl Send for DecodedApdu
impl Sync for DecodedApdu
impl Unpin for DecodedApdu
impl UnsafeUnpin for DecodedApdu
impl UnwindSafe for DecodedApdu
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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