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 Freeze for AsyncListener
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