pub struct Invoker<'a> { /* private fields */ }
Expand description
The invoker is maybe not visible to the user, but we can get events caused by him, so some information about him are passed along with his id.
Implementations§
Source§impl<'a> Invoker<'a>
impl<'a> Invoker<'a>
pub fn get_connection(&self) -> Option<Connection<'_>>
Methods from Deref<Target = InvokerData>§
Trait Implementations§
impl<'a> Eq for Invoker<'a>
Auto Trait Implementations§
impl<'a> Freeze for Invoker<'a>
impl<'a> RefUnwindSafe for Invoker<'a>
impl<'a> Send for Invoker<'a>
impl<'a> Sync for Invoker<'a>
impl<'a> Unpin for Invoker<'a>
impl<'a> UnwindSafe for Invoker<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more