Enum ev3dev_lang_rust::Ev3Error [−][src]
pub enum Ev3Error {
InternalError {
msg: String,
},
NotConnected {
device: String,
port: Option<String>,
},
MultipleMatches {
device: String,
ports: Vec<String>,
},
}
Expand description
Custom error type for internal errors.
Variants
InternalError
Fields
msg: String
Original error message.
Internal error with error msg
.
NotConnected
Fields
device: String
Corresponding device
No matching device found.
MultipleMatches
Fields
device: String
Corresponding device
More than one matching device found.
Trait Implementations
Performs the conversion.
Performs the conversion.