pub enum BoundListenAddress {
Tcp(SocketAddr),
Udp(SocketAddr),
Unixgram(PathBuf),
Unix(PathBuf),
NamedPipe(String),
}Expand description
A bound listen address.
This represents the “local” address of a listener (whether Listener or
ConnectionOrientedListener), and is reciprocal to
ListenAddress, containing the same exact variants. This type is meant to be published as a dataspace assertion
when a server binds to a particular ListenAddress, providing the resolved address, such as the exact port used
for a TCP/UDP socket when an ephemeral port was originally specified, and so on.
Variants§
Tcp(SocketAddr)
A TCP listen address.
Udp(SocketAddr)
A UDP listen address.
Unixgram(PathBuf)
A Unix datagram listen address.
Unix(PathBuf)
A Unix stream listen address.
NamedPipe(String)
A Windows named pipe listen address.
Trait Implementations§
Source§impl Clone for BoundListenAddress
impl Clone for BoundListenAddress
Source§fn clone(&self) -> BoundListenAddress
fn clone(&self) -> BoundListenAddress
Returns a duplicate 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 BoundListenAddress
impl Debug for BoundListenAddress
Source§impl Display for BoundListenAddress
impl Display for BoundListenAddress
Source§impl PartialEq for BoundListenAddress
impl PartialEq for BoundListenAddress
impl Eq for BoundListenAddress
impl StructuralPartialEq for BoundListenAddress
Auto Trait Implementations§
impl Freeze for BoundListenAddress
impl RefUnwindSafe for BoundListenAddress
impl Send for BoundListenAddress
impl Sync for BoundListenAddress
impl Unpin for BoundListenAddress
impl UnwindSafe for BoundListenAddress
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Stringable for Twhere
T: Display,
impl<T> Stringable for Twhere
T: Display,
Converts the given value to a
SharedString.Source§impl<T> Track for T
impl<T> Track for T
Source§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Instruments this type by attaching the given resource group token, returning a
Tracked wrapper. Read moreSource§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Instruments this type by attaching the current resource group, returning a
Tracked wrapper. Read more