Trait DriverHandle

Source
pub trait DriverHandle: 'static + Unpin {
    type Payload;
    type Ext;
    type Ref: Deref<Target = Driver<Self::Payload, Self::Ext>>;

    // Required method
    fn get(&self) -> Self::Ref;
}

Required Associated Types§

Source

type Payload

Source

type Ext

Source

type Ref: Deref<Target = Driver<Self::Payload, Self::Ext>>

Required Methods§

Source

fn get(&self) -> Self::Ref

Implementations on Foreign Types§

Source§

impl<P, Ext> DriverHandle for Weak<Driver<P, Ext>>
where P: 'static, Ext: 'static,

Source§

type Payload = P

Source§

type Ext = Ext

Source§

type Ref = Rc<Driver<P, Ext>>

Source§

fn get(&self) -> Self::Ref

Implementors§