Struct calloop::RegistrationToken
source · pub struct RegistrationToken { /* private fields */ }
Expand description
A token representing a registration in the EventLoop
.
This token is given to you by the EventLoop
when an EventSource
is inserted or
a Dispatcher
is registered. You can use it to disable,
enable, update`,
remove or kill it.
Trait Implementations§
source§impl Clone for RegistrationToken
impl Clone for RegistrationToken
source§fn clone(&self) -> RegistrationToken
fn clone(&self) -> RegistrationToken
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 moresource§impl Debug for RegistrationToken
impl Debug for RegistrationToken
source§impl PartialEq for RegistrationToken
impl PartialEq for RegistrationToken
source§fn eq(&self, other: &RegistrationToken) -> bool
fn eq(&self, other: &RegistrationToken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegistrationToken
impl Eq for RegistrationToken
impl StructuralEq for RegistrationToken
impl StructuralPartialEq for RegistrationToken
Auto Trait Implementations§
impl RefUnwindSafe for RegistrationToken
impl Send for RegistrationToken
impl Sync for RegistrationToken
impl Unpin for RegistrationToken
impl UnwindSafe for RegistrationToken
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