pub struct Endpoint {
pub kind: TransportKind,
pub address: String,
pub cert_hash: Option<[u8; 32]>,
}Fields§
§kind: TransportKind§address: String§cert_hash: Option<[u8; 32]>Trait Implementations§
Source§impl From<Endpoint> for EndpointSet
impl From<Endpoint> for EndpointSet
Source§fn from(endpoint: Endpoint) -> EndpointSet
fn from(endpoint: Endpoint) -> EndpointSet
Converts to this type from the input type.
Source§impl FromIterator<Endpoint> for EndpointSet
impl FromIterator<Endpoint> for EndpointSet
Source§fn from_iter<I>(iter: I) -> EndpointSetwhere
I: IntoIterator<Item = Endpoint>,
fn from_iter<I>(iter: I) -> EndpointSetwhere
I: IntoIterator<Item = Endpoint>,
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnsafeUnpin for Endpoint
impl UnwindSafe for Endpoint
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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