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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

[src]

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

[src]

This method tests for !=.

impl StdError for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.

impl From<DistanceModelError> for Error
[src]

[src]

Performs the conversion.