Struct async_event_emitter::AsyncListener
source · pub struct AsyncListener {
pub callback: Arc<AsyncCB>,
pub limit: Option<u64>,
pub id: String,
}
Fields§
§callback: Arc<AsyncCB>
§limit: Option<u64>
§id: String
Trait Implementations§
source§impl Clone for AsyncListener
impl Clone for AsyncListener
source§fn clone(&self) -> AsyncListener
fn clone(&self) -> AsyncListener
Returns a copy 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 !RefUnwindSafe for AsyncListener
impl Send for AsyncListener
impl Sync for AsyncListener
impl Unpin for AsyncListener
impl !UnwindSafe for AsyncListener
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