pub struct NonHook;Trait Implementations§
Source§impl Hook for NonHook
impl Hook for NonHook
fn accept(&self, _: &Slot) -> bool
fn remove(&self, _: &Slot)
fn recv(&self, _: &Slot, _: &mut Message) -> bool
fn send(&self, _: &Slot, _: &mut Message) -> bool
fn attach(&self, _: &Slot, _: &mut Message, _chan: &str) -> bool
fn detach(&self, _: &Slot, _: &mut Message, _chan: &str) -> bool
fn bind(&self, _: &Slot, _: &mut Message, _slot_id: MessageId) -> bool
fn unbind(&self, _: &Slot, _: &mut Message, _slot_id: MessageId) -> bool
fn join(&self, _: &Slot, _: &mut Message) -> bool
fn leave(&self, _: &Slot, _: &mut Message) -> bool
fn ping(&self, _: &Slot, _: &mut Message)
fn emit(&self, _: &Slot, _: &mut Message) -> bool
fn push(&self, _: &Slot, _: &mut Message) -> bool
fn kill(&self, _: &Slot, _: &mut Message) -> bool
fn query(&self, _: &Switch, _token: usize, _: &mut Message)
fn custom(&self, _: &Switch, _token: usize, _: &mut Message)
fn ctrl(&self, _: &mut Switch, _token: usize, _: &mut Message)
fn stop(&self, _: &Switch)
Auto Trait Implementations§
impl Freeze for NonHook
impl RefUnwindSafe for NonHook
impl Send for NonHook
impl Sync for NonHook
impl Unpin for NonHook
impl UnwindSafe for NonHook
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