pub enum SegmentedPduType {
ConfirmedRequest,
ComplexAck,
}Expand description
PDU types that affect segmentation overhead calculation.
Named SegmentedPduType to avoid collision with bacnet_types::enums::PduType.
Variants§
ConfirmedRequest
ConfirmedRequest: 6-byte overhead (type + max-seg/apdu + invoke + seq + window + service).
ComplexAck
ComplexACK: 5-byte overhead (type + invoke + seq + window + service).
Trait Implementations§
Source§impl Clone for SegmentedPduType
impl Clone for SegmentedPduType
Source§fn clone(&self) -> SegmentedPduType
fn clone(&self) -> SegmentedPduType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentedPduType
impl Debug for SegmentedPduType
Source§impl PartialEq for SegmentedPduType
impl PartialEq for SegmentedPduType
impl Copy for SegmentedPduType
impl Eq for SegmentedPduType
impl StructuralPartialEq for SegmentedPduType
Auto Trait Implementations§
impl Freeze for SegmentedPduType
impl RefUnwindSafe for SegmentedPduType
impl Send for SegmentedPduType
impl Sync for SegmentedPduType
impl Unpin for SegmentedPduType
impl UnsafeUnpin for SegmentedPduType
impl UnwindSafe for SegmentedPduType
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