pub enum SerialCommand {
CancelSendFile,
ChangeBaud(u32),
ChangeDataBits(DataBits),
ChangeFlowControl(FlowControl),
ChangeStopBits(StopBits),
ChangeParity(Parity),
ChangePort(String),
ConnectToPort {
name: String,
baud: u32,
},
Disconnect,
SendData(Vec<u8>),
SendFile(PathBuf),
LogToFile(PathBuf),
CancelLogToFile,
}
Variants
CancelSendFile
ChangeBaud(u32)
ChangeDataBits(DataBits)
ChangeFlowControl(FlowControl)
ChangeStopBits(StopBits)
ChangeParity(Parity)
ChangePort(String)
ConnectToPort
Fields of ConnectToPort
Disconnect
SendData(Vec<u8>)
SendFile(PathBuf)
LogToFile(PathBuf)
CancelLogToFile
Trait Implementations
Formats the value using the given formatter.