Struct bp7::primary::PrimaryBlock [−][src]
pub struct PrimaryBlock {
pub bundle_control_flags: BundleControlFlagsType,
pub crc: CrcValue,
pub destination: EndpointID,
pub source: EndpointID,
pub report_to: EndpointID,
pub creation_timestamp: CreationTimestamp,
pub lifetime: Duration,
pub fragmentation_offset: FragOffsetType,
pub total_data_length: TotalDataLengthType,
// some fields omitted
}
Fields
bundle_control_flags: BundleControlFlagsType
crc: CrcValue
destination: EndpointID
source: EndpointID
report_to: EndpointID
creation_timestamp: CreationTimestamp
lifetime: Duration
in milliseconds
fragmentation_offset: FragOffsetType
total_data_length: TotalDataLengthType
Implementations
Trait Implementations
Convert block struct to a serializable enum
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PrimaryBlock
impl Send for PrimaryBlock
impl Sync for PrimaryBlock
impl Unpin for PrimaryBlock
impl UnwindSafe for PrimaryBlock
Blanket Implementations
Mutably borrows from an owned value. Read more