pub struct ServiceHandles { /* private fields */ }Implementations§
Source§impl ServiceHandles
impl ServiceHandles
pub fn new() -> Self
pub fn push(&mut self, handle: impl ServiceHandle + 'static)
pub fn push_boxed(&mut self, handle: Box<dyn ServiceHandle>)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub async fn shutdown_reverse(&mut self) -> ShutdownReport
pub async fn shutdown_reverse_with_timeout( &mut self, timeout: Duration, ) -> ShutdownReport
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ServiceHandles
impl !Sync for ServiceHandles
impl !UnwindSafe for ServiceHandles
impl Freeze for ServiceHandles
impl Send for ServiceHandles
impl Unpin for ServiceHandles
impl UnsafeUnpin for ServiceHandles
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