pub trait Lockable<'invoker, 'buffer, B>where
B: Buffer,{
type Locked;
// Required method
fn lock(
&self,
invoker: &'invoker mut Invoker,
buffer: &'buffer mut B,
) -> Self::Locked;
}
Expand description
A component that can be given an Invoker
and a byte
buffer in order to access its methods.