Struct comet_eventbus::bridge::BridgedEventListener
source · pub struct BridgedEventListener<T> { /* private fields */ }
Expand description
An EventListener
wrapper for Listener
Implementations§
source§impl<T: 'static> BridgedEventListener<T>
impl<T: 'static> BridgedEventListener<T>
sourcepub async fn unregister(self)
pub async fn unregister(self)
shorthand for unregister bridged listener from eventbus
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for BridgedEventListener<T>
impl<T> Send for BridgedEventListener<T>where T: Send,
impl<T> Sync for BridgedEventListener<T>where T: Sync,
impl<T> Unpin for BridgedEventListener<T>where T: Unpin,
impl<T> !UnwindSafe for BridgedEventListener<T>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request