pub struct Endpoint { /* private fields */ }
Expand description
The network context of a node in the service graph.
Implementations§
Source§impl Endpoint
impl Endpoint
Sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
Returns the name of the service at this endpoint.
Sourcepub fn ipv4(&self) -> Option<Ipv4Addr>
pub fn ipv4(&self) -> Option<Ipv4Addr>
Returns the IPv4 address of the service at this endpoint.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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