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<RegistrationToken> for RegistrationToken
impl PartialEq<RegistrationToken> 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 ==.