pub struct ServiceObj { /* private fields */ }
Expand description
Type erased Service
.
Used to start a service using ServiceSpawn
and usually not directly interacted with.
Use ServiceSpawnExt
when possible instead.
Implementations§
Source§impl ServiceObj
impl ServiceObj
Trait Implementations§
Source§impl From<&ServiceObj> for TaskId
impl From<&ServiceObj> for TaskId
Source§fn from(value: &ServiceObj) -> Self
fn from(value: &ServiceObj) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServiceObj
impl !RefUnwindSafe for ServiceObj
impl Send for ServiceObj
impl !Sync for ServiceObj
impl Unpin for ServiceObj
impl !UnwindSafe for ServiceObj
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