Struct envoy_sdk::host::stream_info::UpstreamInfo [−][src]
Provides access to upstream
properties.
Implementations
impl<'a> UpstreamInfo<'a>
[src]
pub fn address(&self) -> Result<Option<String>>
[src]
Returns upstream connection remote address.
pub fn port(&self) -> Result<Option<u32>>
[src]
Returns upstream connection remote port.
pub fn local_address(&self) -> Result<Option<String>>
[src]
Returns the local address of the upstream connection.
pub fn transport_failure_reason(&self) -> Result<Option<String>>
[src]
Returns the upstream transport failure reason e.g. certificate validation failed.
pub fn tls(&'a self) -> UpstreamConnectionTlsInfo<'a>
[src]
Provides access to TLS
properties of the upstream connection.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for UpstreamInfo<'a>
impl<'a> !Send for UpstreamInfo<'a>
impl<'a> !Sync for UpstreamInfo<'a>
impl<'a> Unpin for UpstreamInfo<'a>
impl<'a> !UnwindSafe for UpstreamInfo<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,