pub struct Connected { /* private fields */ }Implementations§
Source§impl Connected
impl Connected
pub fn new() -> Self
pub fn info(self, info: ConnectionInfo) -> Self
pub fn coalescing(self, coalescing: CoalescingInfo) -> Self
pub fn proxy(self, proxied: bool) -> Self
pub fn negotiated_h2(self, negotiated_h2: bool) -> Self
pub fn is_proxied(&self) -> bool
pub fn is_negotiated_h2(&self) -> bool
pub fn connection_info(&self) -> Option<&ConnectionInfo>
pub fn connection_info_or_default(&self) -> ConnectionInfo
pub fn coalescing_info(&self) -> &CoalescingInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Connected
impl RefUnwindSafe for Connected
impl Send for Connected
impl Sync for Connected
impl Unpin for Connected
impl UnsafeUnpin for Connected
impl UnwindSafe for Connected
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