Struct canadensis_data_types::uavcan::internet::udp::outgoing_packet_0_1::OutgoingPacket[][src]

pub struct OutgoingPacket {
    pub session_id: u16,
    pub destination_port: u16,
    pub destination_address: Vec<u8, 45>,
    pub use_masquerading: bool,
    pub use_dtls: bool,
    pub payload: Vec<u8, 260>,
}
Expand description

uavcan.internet.udp.OutgoingPacket.0.1

Size ranges from 8 to 313 bytes

Fields

session_id: u16

saturated uint16

Always aligned Size 16 bits

destination_port: u16

saturated uint16

Always aligned Size 16 bits

destination_address: Vec<u8, 45>

saturated uint8[<=45]

Always aligned Size ranges from 0 to 360 bits

use_masquerading: bool

saturated bool

Always aligned Size 1 bits

use_dtls: bool

saturated bool

Not always aligned Size 1 bits

payload: Vec<u8, 260>

saturated uint8[<=260]

Always aligned Size ranges from 0 to 2080 bits

Implementations

Trait Implementations

The sealed or delimited property of this type

Deserializes a value and returns it

Deserializes a value from a slice of bytes and returns it Read more

A convenience function that creates a cursor around the provided bytes and calls deserialize Read more

Returns the size of the encoded form of this value, in bits Read more

Serializes this value into a buffer Read more

A convenience function that creates a cursor around the provided bytes and calls serialize Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.