Struct sbp::messages::file_io::MsgFileioRemove [−][src]
pub struct MsgFileioRemove {
pub sender_id: Option<u16>,
pub filename: SbpString<Vec<u8>, NullTerminated>,
}
Expand description
Delete a file from the file system (host => device)
The file remove message deletes a file from the file system. If the message is invalid, a followup MSG_PRINT message will print “Invalid fileio remove message”. A device will only process this message when it is received from sender ID 0x42.
Fields
sender_id: Option<u16>
The message sender_id
filename: SbpString<Vec<u8>, NullTerminated>
Name of the file to delete
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 MsgFileioRemove
impl Send for MsgFileioRemove
impl Sync for MsgFileioRemove
impl Unpin for MsgFileioRemove
impl UnwindSafe for MsgFileioRemove
Blanket Implementations
Mutably borrows from an owned value. Read more