pub struct Endpoint { /* private fields */ }
Expand description
A domain with an associated port.
Implementations§
source§impl Endpoint
impl Endpoint
Conversions
sourcepub fn to_ref(&self) -> EndpointRef<'_>
pub fn to_ref(&self) -> EndpointRef<'_>
Converts the endpoint to an endpoint reference.
Converts the endpoint to an authority.
Trait Implementations§
source§impl<'a> From<EndpointRef<'a>> for Endpoint
impl<'a> From<EndpointRef<'a>> for Endpoint
source§fn from(endpoint: EndpointRef<'a>) -> Self
fn from(endpoint: EndpointRef<'a>) -> Self
Converts to this type from the input type.
source§impl Ord for Endpoint
impl Ord for Endpoint
source§impl PartialEq for Endpoint
impl PartialEq for Endpoint
source§impl PartialOrd for Endpoint
impl PartialOrd for Endpoint
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 Eq for Endpoint
impl StructuralPartialEq for Endpoint
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