pub struct EventSender { /* private fields */ }Expand description
Sender handle for submitting events to an EventBus.
Implementations§
Source§impl EventSender
impl EventSender
Sourcepub fn into_inner(self) -> UnboundedSender<CuenvEvent>
pub fn into_inner(self) -> UnboundedSender<CuenvEvent>
Get the raw mpsc sender for use with the tracing layer.
This is primarily used by CuenvEventLayer to send events directly.
Trait Implementations§
Source§impl Clone for EventSender
impl Clone for EventSender
Source§fn clone(&self) -> EventSender
fn clone(&self) -> EventSender
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EventSender
impl RefUnwindSafe for EventSender
impl Send for EventSender
impl Sync for EventSender
impl Unpin for EventSender
impl UnwindSafe for EventSender
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