pub struct SessionRegistry;Implementations§
Source§impl SessionRegistry
impl SessionRegistry
pub async fn ensure_running(self) -> Result<(), DaemonError>
pub async fn bootstrap(self, config: &DaemonConfig) -> Result<(), DaemonError>
pub async fn wait_for_shutdown( self, timeout: Duration, ) -> Result<(), DaemonError>
Trait Implementations§
Source§impl Clone for SessionRegistry
impl Clone for SessionRegistry
Source§fn clone(&self) -> SessionRegistry
fn clone(&self) -> SessionRegistry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionRegistry
impl Debug for SessionRegistry
Source§impl Default for SessionRegistry
impl Default for SessionRegistry
Source§fn default() -> SessionRegistry
fn default() -> SessionRegistry
Returns the “default value” for a type. Read more
impl Copy for SessionRegistry
Auto Trait Implementations§
impl Freeze for SessionRegistry
impl RefUnwindSafe for SessionRegistry
impl Send for SessionRegistry
impl Sync for SessionRegistry
impl Unpin for SessionRegistry
impl UnsafeUnpin for SessionRegistry
impl UnwindSafe for SessionRegistry
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