pub struct SidecarHandle { /* private fields */ }Expand description
RAII handle that auto-unregisters its instance on drop.
Implementations§
Source§impl SidecarHandle
impl SidecarHandle
pub fn id(&self) -> InstanceId
pub fn stats(&self) -> Option<InstanceStats>
Trait Implementations§
Source§impl Drop for SidecarHandle
impl Drop for SidecarHandle
Auto Trait Implementations§
impl !RefUnwindSafe for SidecarHandle
impl !UnwindSafe for SidecarHandle
impl Freeze for SidecarHandle
impl Send for SidecarHandle
impl Sync for SidecarHandle
impl Unpin for SidecarHandle
impl UnsafeUnpin for SidecarHandle
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