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: StringOriginal error message.
Internal error with error msg.
NotConnected
Fields
device: StringCorresponding device
No matching device found.
MultipleMatches
Fields
device: StringCorresponding device
More than one matching device found.
Trait Implementations
Performs the conversion.
Performs the conversion.
