pub struct RunningRegistry { /* private fields */ }
Expand description
A running registry.
Dropping it will cause the registry to shut down.
Implementations§
Source§impl RunningRegistry
impl RunningRegistry
Sourcepub fn bound_addr(&self) -> SocketAddr
pub fn bound_addr(&self) -> SocketAddr
Returns the address the registry is bound to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunningRegistry
impl !RefUnwindSafe for RunningRegistry
impl Send for RunningRegistry
impl Sync for RunningRegistry
impl Unpin for RunningRegistry
impl !UnwindSafe for RunningRegistry
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