pub struct Controller {
pub registration: Option<AbortRegistration>,
pub stopper: Stopper,
}
Fields§
§registration: Option<AbortRegistration>
§stopper: Stopper
Implementations§
Source§impl Controller
impl Controller
pub fn take_registration( &mut self, ) -> Result<AbortRegistration, RegistrationTaken>
Trait Implementations§
Source§impl Debug for Controller
impl Debug for Controller
Source§impl Default for Controller
impl Default for Controller
Auto Trait Implementations§
impl Freeze for Controller
impl !RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl !UnwindSafe for Controller
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