pub enum Lower {
Access {
aid: Option<u8>,
upper: Vec<u8>,
},
Segment {
aid: Option<u8>,
big_mic: bool,
seq_zero: u16,
seg_o: u8,
seg_n: u8,
data: Vec<u8>,
},
Control {
opcode: u8,
params: Vec<u8>,
},
Ack {
obo: bool,
seq_zero: u16,
block: u32,
},
}Expand description
A parsed lower transport PDU.
Variants§
Access
An unsegmented access message: AKF/AID and the upper transport PDU.
Fields
Segment
One segment of an access message.
Fields
Control
An unsegmented control message: opcode and parameters.
Ack
A Segment Acknowledgment.
Trait Implementations§
impl Eq for Lower
impl StructuralPartialEq for Lower
Auto Trait Implementations§
impl Freeze for Lower
impl RefUnwindSafe for Lower
impl Send for Lower
impl Sync for Lower
impl Unpin for Lower
impl UnsafeUnpin for Lower
impl UnwindSafe for Lower
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