Enum gattii::SerialResponse [] [src]

pub enum SerialResponse {
    Data(Vec<u8>),
    SendingFileCanceled,
    SendingFileComplete,
    SendingFileStarted,
    SendingFileProgress(u8),
    SendingFileError(String),
    OpenPortSuccess(String),
    OpenPortError(String),
    DisconnectSuccess,
    LogToFileError(String),
    LoggingFileCanceled,
    UnexpectedDisconnection(Vec<String>),
    PortsFound(Vec<String>),
}

Variants

Response to SerialCommand::SendFile. Confirms that the file has been opened successfully and data is going to be sent.

Status response indicating what percentage of transmission a file is at

A port error has occurred that is likely the result of a serial device disconnected. This also returns a list of all still-attached serial devices.

A sorted list of ports found during a port scan. Guaranteed to contain the currently-active port if there is one.

Trait Implementations

impl Debug for SerialResponse
[src]

Formats the value using the given formatter.