Struct sbp::messages::file_io::MsgFileioReadDirResp [−][src]
pub struct MsgFileioReadDirResp {
pub sender_id: Option<u16>,
pub sequence: u32,
pub contents: Vec<u8>,
}
Expand description
Files listed in a directory (host <= device)
The read directory message lists the files in a directory on the device’s onboard flash file system. Message contains the directory listings as a NULL delimited list. The listing is chunked over multiple SBP packets and the end of the list is identified by an packet with no entries. The sequence number in the response is preserved from the request.
Fields
sender_id: Option<u16>
The message sender_id
sequence: u32
Read sequence number
contents: Vec<u8>
Contents of read directory
Trait Implementations
The message type.
The message name.
Performs the conversion.
Get the message name.
Get the message type.
Set the sender id.
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgFileioReadDirResp
impl Send for MsgFileioReadDirResp
impl Sync for MsgFileioReadDirResp
impl Unpin for MsgFileioReadDirResp
impl UnwindSafe for MsgFileioReadDirResp
Blanket Implementations
Mutably borrows from an owned value. Read more