Trait device_driver::ll::LowLevelDevice[][src]

pub trait LowLevelDevice<I> {
    fn new(interface: I) -> Self
    where
        Self: Sized
;
fn free(self) -> I; }

General Device trait

Required methods

fn new(interface: I) -> Self where
    Self: Sized
[src]

Create a new instance of the device with the given interface

fn free(self) -> I[src]

Destruct the device and give back the interface

Loading content...

Implementors

Loading content...