Lines Matching full:registration
15 /// A registration represents an I/O resource registered with a Reactor such
22 /// registration instance is dropped.
24 /// A registration instance represents two separate readiness streams. One
28 /// **Note**: while `Registration` is `Sync`, the caller must ensure that
29 /// there are at most two tasks that use a registration instance
37 /// `Registration` also allows receiving platform-specific `mio::Ready`
46 pub(crate) struct Registration {
55 unsafe impl Send for Registration {} implementation
56 unsafe impl Sync for Registration {} implementation
58 // ===== impl Registration =====
60 impl Registration { impl
68 /// - `Ok` if the registration happened successfully
69 /// - `Err` if an error was encountered during registration
75 ) -> io::Result<Registration> { in new_with_interest_and_handle() argument
78 Ok(Registration { handle, shared }) in new_with_interest_and_handle()
84 /// registration is dropped.
94 /// no longer result in notifications getting sent for this registration.
206 impl Drop for Registration { implementation
211 // possible to store a `Registration` in a waker. In this case, the in drop()
227 impl Registration { impl