Enum gilrs::ff::Error[][src]

pub enum Error {
    FfNotSupported(usize),
    Disconnected(usize),
    InvalidDistanceModel(DistanceModelError),
    SendFailed,
    Other,
    // some variants omitted
}

Basic error type in force feedback module.

Variants

Force feedback is not supported by device with this ID

Device is not connected

Distance model is invalid.

The other end of channel was dropped.

Unexpected error has occurred

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl StdError for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl<T> From<SendError<T>> for Error
[src]

Performs the conversion.

impl From<DistanceModelError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error