pub trait Attachable {
    // Required methods
    fn attach(&self) -> Result<()>;
    fn is_attached(&self) -> bool;
}
Expand description

Represents an attachable resource to driver.

Required Methods§

source

fn attach(&self) -> Result<()>

Attach self to the global driver.

source

fn is_attached(&self) -> bool

Check if Attachable::attach has been called.

Implementors§