Struct twizzler_net::ListenInfo
source · #[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<ListenInfo> for ListenInfo
impl PartialEq<ListenInfo> for ListenInfo
source§fn eq(&self, other: &ListenInfo) -> bool
fn eq(&self, other: &ListenInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ListenInfo> for ListenInfo
impl PartialOrd<ListenInfo> for ListenInfo
source§fn partial_cmp(&self, other: &ListenInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &ListenInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ListenInfo
impl Eq for ListenInfo
impl StructuralEq for ListenInfo
impl StructuralPartialEq for ListenInfo
Auto Trait Implementations§
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