pub trait RequestDispatch<Ctx> {
    type Error;
    type ReleaseFut<'a>: Future<Output = Result<(), Self::Error>> + 'a
       where Ctx: 'a;

    // Required method
    fn release<'a>(ctx: &'a mut Ctx, object_id: u32) -> Self::ReleaseFut<'a>;
}

Required Associated Types§

source

type Error

source

type ReleaseFut<'a>: Future<Output = Result<(), Self::Error>> + 'a where Ctx: 'a

Type of future returned by release

Required Methods§

source

fn release<'a>(ctx: &'a mut Ctx, object_id: u32) -> Self::ReleaseFut<'a>

release the touch object

Implementors§