#[repr(C)]pub struct ListenInfo { /* private fields */ }
Implementations§
source§impl ListenInfo
impl ListenInfo
pub fn address(&self) -> (NodeAddr, ServiceAddr)
pub fn flags(&self) -> ListenFlags
pub fn new( node_addr: NodeAddr, service_addr: ServiceAddr, flags: ListenFlags, ) -> Self
Trait Implementations§
source§impl Clone for ListenInfo
impl Clone for ListenInfo
source§fn clone(&self) -> ListenInfo
fn clone(&self) -> ListenInfo
Returns a copy 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 ListenInfo
impl Debug for ListenInfo
source§impl Ord for ListenInfo
impl Ord for ListenInfo
source§fn cmp(&self, other: &ListenInfo) -> Ordering
fn cmp(&self, other: &ListenInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ListenInfo
impl PartialEq for ListenInfo
source§impl PartialOrd for ListenInfo
impl PartialOrd for ListenInfo
impl Copy for ListenInfo
impl Eq for ListenInfo
impl StructuralPartialEq for ListenInfo
Auto Trait Implementations§
impl Freeze for ListenInfo
impl ObjSafe for ListenInfo
impl RefUnwindSafe for ListenInfo
impl Send for ListenInfo
impl Sync for ListenInfo
impl Unpin for ListenInfo
impl UnwindSafe for ListenInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.