pub struct ReusedHttpStream { /* private fields */ }
Implementations§
Source§impl ReusedHttpStream
impl ReusedHttpStream
pub fn new( stream: Stream, persistent_settings: Option<HttpPersistentSettings>, ) -> Self
pub fn consume(self) -> (Stream, Option<HttpPersistentSettings>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReusedHttpStream
impl !RefUnwindSafe for ReusedHttpStream
impl Send for ReusedHttpStream
impl Sync for ReusedHttpStream
impl Unpin for ReusedHttpStream
impl !UnwindSafe for ReusedHttpStream
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