pub struct GetUpstreamsResult {
pub tcp: Vec<TcpUpstreamEntry>,
pub quic: Vec<QuicUpstreamEntry>,
}Expand description
Snapshot of cached upstream connection objects: the TCP / TLS
hyper-util client cache and (when h3 is built) the QUIC pool.
Fields§
§tcp: Vec<TcpUpstreamEntry>§quic: Vec<QuicUpstreamEntry>Empty when the h3 feature is disabled.
Trait Implementations§
Source§impl Clone for GetUpstreamsResult
impl Clone for GetUpstreamsResult
Source§fn clone(&self) -> GetUpstreamsResult
fn clone(&self) -> GetUpstreamsResult
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 GetUpstreamsResult
impl Debug for GetUpstreamsResult
Source§impl Default for GetUpstreamsResult
impl Default for GetUpstreamsResult
Source§fn default() -> GetUpstreamsResult
fn default() -> GetUpstreamsResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetUpstreamsResult
impl<'de> Deserialize<'de> for GetUpstreamsResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetUpstreamsResult
impl PartialEq for GetUpstreamsResult
Source§fn eq(&self, other: &GetUpstreamsResult) -> bool
fn eq(&self, other: &GetUpstreamsResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetUpstreamsResult
impl Serialize for GetUpstreamsResult
impl Eq for GetUpstreamsResult
impl StructuralPartialEq for GetUpstreamsResult
Auto Trait Implementations§
impl Freeze for GetUpstreamsResult
impl RefUnwindSafe for GetUpstreamsResult
impl Send for GetUpstreamsResult
impl Sync for GetUpstreamsResult
impl Unpin for GetUpstreamsResult
impl UnsafeUnpin for GetUpstreamsResult
impl UnwindSafe for GetUpstreamsResult
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