pub struct Protocols { /* private fields */ }
Implementations§
Source§impl Protocols
impl Protocols
pub fn http1_support_announced(&self) -> bool
pub fn http2_support_announced(&self) -> bool
Auto Trait Implementations§
impl Freeze for Protocols
impl RefUnwindSafe for Protocols
impl Send for Protocols
impl Sync for Protocols
impl Unpin for Protocols
impl UnwindSafe for Protocols
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