Enum ev3dev_lang_rust::Ev3Error [−][src]
pub enum Ev3Error {
InternalError {
msg: String,
},
NotConnected {
device: String,
port: Option<String>,
},
MultipleMatches {
device: String,
ports: Vec<String>,
},
}Custom error type for internal errors.
Variants
Internal error with error msg.
Show fields
Fields of InternalError
msg: StringOriginal error message.
No matching device found.
Show fields
More than one matching device found.
Show fields
Trait Implementations
impl From<FromUtf8Error> for Ev3Error[src]
impl From<FromUtf8Error> for Ev3Error[src]fn from(err: FromUtf8Error) -> Self[src]
impl From<ParseIntError> for Ev3Error[src]
impl From<ParseIntError> for Ev3Error[src]fn from(err: ParseIntError) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for Ev3Error
impl RefUnwindSafe for Ev3Errorimpl UnwindSafe for Ev3Error
impl UnwindSafe for Ev3Error