Struct canadensis_data_types::uavcan::file::get_info_0_2::GetInfoResponse [−][src]
pub struct GetInfoResponse {
pub error: Error,
pub size: u64,
pub unix_timestamp_of_last_modification: u64,
pub is_file_not_directory: bool,
pub is_link: bool,
pub is_readable: bool,
pub is_writeable: bool,
}
Expand description
uavcan.file.GetInfo.0.2
Fixed size 13 bytes
Fields
error: Error
uavcan.file.Error.1.0
Always aligned Size 16 bits
size: u64
truncated uint40
Always aligned Size 40 bits
unix_timestamp_of_last_modification: u64
truncated uint40
Always aligned Size 40 bits
is_file_not_directory: bool
saturated bool
Always aligned Size 1 bits
is_link: bool
saturated bool
Not always aligned Size 1 bits
is_readable: bool
saturated bool
Not always aligned Size 1 bits
is_writeable: bool
saturated bool
Not always aligned Size 1 bits
Trait Implementations
The sealed or delimited property of this type
fn deserialize(cursor: &mut ReadCursor<'_>) -> Result<Self, DeserializeError> where
Self: Sized,
fn deserialize(cursor: &mut ReadCursor<'_>) -> Result<Self, DeserializeError> where
Self: Sized,
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