Skip to main content

Driver

Trait Driver 

Source
pub trait Driver: Send + Sync {
    type Error: Error + Send + Sync + 'static;
}
Expand description

A device driver capable of executing one or more typed operations.

Required Associated Types§

Source

type Error: Error + Send + Sync + 'static

Error type returned by this driver’s operations.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§