pub struct IngressInfo {
pub protocol: &'static str,
pub tls_suite: Option<&'static str>,
pub tls_reused: Option<bool>,
}Expand description
The ingress span: how the connection was framed (docs/05 §2).
Fields§
§protocol: &'static strWire protocol label, e.g. "h1".
tls_suite: Option<&'static str>Negotiated TLS suite label, if the connection was TLS.
tls_reused: Option<bool>Whether the TLS session was resumed.
Trait Implementations§
Source§impl Clone for IngressInfo
impl Clone for IngressInfo
Source§fn clone(&self) -> IngressInfo
fn clone(&self) -> IngressInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IngressInfo
impl Debug for IngressInfo
impl Eq for IngressInfo
Source§impl PartialEq for IngressInfo
impl PartialEq for IngressInfo
Source§fn eq(&self, other: &IngressInfo) -> bool
fn eq(&self, other: &IngressInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IngressInfo
Auto Trait Implementations§
impl Freeze for IngressInfo
impl RefUnwindSafe for IngressInfo
impl Send for IngressInfo
impl Sync for IngressInfo
impl Unpin for IngressInfo
impl UnsafeUnpin for IngressInfo
impl UnwindSafe for IngressInfo
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