pub struct ComplexAck {
pub segmented: bool,
pub more_follows: bool,
pub invoke_id: u8,
pub sequence_number: Option<u8>,
pub proposed_window_size: Option<u8>,
pub service_choice: ConfirmedServiceChoice,
pub service_ack: Bytes,
}Expand description
ComplexACK PDU (Clause 20.1.5).
Fields§
§segmented: boolSet when this PDU is one segment of a segmented reply; adds the sequence and window fields.
more_follows: boolSet on every segment except the last one of a segmented reply.
invoke_id: u8Invoke ID of the confirmed request this reply answers.
sequence_number: Option<u8>Segment number within a segmented reply; None for unsegmented PDUs. None on a
segmented PDU encodes as 0.
proposed_window_size: Option<u8>Proposed window: how many segments the sender will transmit per SegmentACK (1..=127);
None for unsegmented PDUs. None on a segmented PDU encodes as 1.
service_choice: ConfirmedServiceChoiceConfirmed service this reply belongs to.
service_ack: BytesRaw encoded service acknowledgment parameters.
Trait Implementations§
Source§impl Clone for ComplexAck
impl Clone for ComplexAck
Source§impl Debug for ComplexAck
impl Debug for ComplexAck
impl Eq for ComplexAck
Source§impl PartialEq for ComplexAck
impl PartialEq for ComplexAck
impl StructuralPartialEq for ComplexAck
Auto Trait Implementations§
impl !Freeze for ComplexAck
impl RefUnwindSafe for ComplexAck
impl Send for ComplexAck
impl Sync for ComplexAck
impl Unpin for ComplexAck
impl UnsafeUnpin for ComplexAck
impl UnwindSafe for ComplexAck
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