pub struct ListenerMetadata { /* private fields */ }Implementations§
Source§impl ListenerMetadata
impl ListenerMetadata
pub const fn bind_addr(&self) -> SocketAddr
pub const fn started(&self) -> bool
pub const fn shard_count(&self) -> usize
pub fn advertisement(&self) -> &str
Trait Implementations§
Source§impl Clone for ListenerMetadata
impl Clone for ListenerMetadata
Source§fn clone(&self) -> ListenerMetadata
fn clone(&self) -> ListenerMetadata
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 ListenerMetadata
impl Debug for ListenerMetadata
Source§impl PartialEq for ListenerMetadata
impl PartialEq for ListenerMetadata
impl Eq for ListenerMetadata
impl StructuralPartialEq for ListenerMetadata
Auto Trait Implementations§
impl Freeze for ListenerMetadata
impl RefUnwindSafe for ListenerMetadata
impl Send for ListenerMetadata
impl Sync for ListenerMetadata
impl Unpin for ListenerMetadata
impl UnsafeUnpin for ListenerMetadata
impl UnwindSafe for ListenerMetadata
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