pub struct ShutdownHandle { /* private fields */ }
Trait Implementations§
Source§impl<S: Service + 'static> From<BoundedServiceThread<S>> for ShutdownHandle
impl<S: Service + 'static> From<BoundedServiceThread<S>> for ShutdownHandle
Source§fn from(service: BoundedServiceThread<S>) -> Self
fn from(service: BoundedServiceThread<S>) -> Self
Converts to this type from the input type.
Source§impl<S: TaskService + 'static> From<BoundedTaskServiceThread<S>> for ShutdownHandle
impl<S: TaskService + 'static> From<BoundedTaskServiceThread<S>> for ShutdownHandle
Source§fn from(service: BoundedTaskServiceThread<S>) -> Self
fn from(service: BoundedTaskServiceThread<S>) -> Self
Converts to this type from the input type.
Source§impl<S: Service + 'static> From<ServiceThread<S>> for ShutdownHandle
impl<S: Service + 'static> From<ServiceThread<S>> for ShutdownHandle
Source§fn from(service: ServiceThread<S>) -> Self
fn from(service: ServiceThread<S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShutdownHandle
impl !RefUnwindSafe for ShutdownHandle
impl Send for ShutdownHandle
impl !Sync for ShutdownHandle
impl Unpin for ShutdownHandle
impl !UnwindSafe for ShutdownHandle
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