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 more