pub struct RouterAsyncListener<'r> { /* private fields */ }
Expand description
A listener.
Created with Router::listener()
.
Trait Implementations§
Source§impl<'r> AsyncListener for RouterAsyncListener<'r>
impl<'r> AsyncListener for RouterAsyncListener<'r>
Source§type RespChannel<'a> = RouterAsyncRespChannel<'r>
where
Self: 'a
type RespChannel<'a> = RouterAsyncRespChannel<'r> where Self: 'a
RespChannel
type returned by this Listener
Auto Trait Implementations§
impl<'r> Freeze for RouterAsyncListener<'r>
impl<'r> !RefUnwindSafe for RouterAsyncListener<'r>
impl<'r> Send for RouterAsyncListener<'r>
impl<'r> Sync for RouterAsyncListener<'r>
impl<'r> Unpin for RouterAsyncListener<'r>
impl<'r> !UnwindSafe for RouterAsyncListener<'r>
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