pub struct Noop;Expand description
A type that implements Dispatch for all interfaces, panicking on any event.
Trait Implementations§
Source§impl<I: Proxy, State> Dispatch<I, State> for Noop
impl<I: Proxy, State> Dispatch<I, State> for Noop
Source§fn event(
&self,
_: &mut State,
_: &I,
_: I::Event,
_: &Connection,
_: &QueueHandle<State>,
)
fn event( &self, _: &mut State, _: &I, _: I::Event, _: &Connection, _: &QueueHandle<State>, )
Called when an event from the server is processed Read more
Source§fn event_created_child(
opcode: u16,
_qhandle: &QueueHandle<State>,
) -> Arc<dyn ObjectData>
fn event_created_child( opcode: u16, _qhandle: &QueueHandle<State>, ) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
Auto Trait Implementations§
impl Freeze for Noop
impl RefUnwindSafe for Noop
impl Send for Noop
impl Sync for Noop
impl Unpin for Noop
impl UnsafeUnpin for Noop
impl UnwindSafe for Noop
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