Struct sbp::messages::file_io::MsgFileioReadResp [−][src]
pub struct MsgFileioReadResp {
pub sender_id: Option<u16>,
pub sequence: u32,
pub contents: Vec<u8>,
}
Expand description
File read from the file system (host <= device)
The file read message reads a certain length (up to 255 bytes) from a given offset into a file, and returns the data in a message where the message length field indicates how many bytes were successfully read. 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 file
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 MsgFileioReadResp
impl Send for MsgFileioReadResp
impl Sync for MsgFileioReadResp
impl Unpin for MsgFileioReadResp
impl UnwindSafe for MsgFileioReadResp
Blanket Implementations
Mutably borrows from an owned value. Read more