pub struct TokioHttpStreamDriver { /* private fields */ }Expand description
TokioHttpStreamDriver data container.
Implementations§
Trait Implementations§
Source§impl Clone for TokioHttpStreamDriver
impl Clone for TokioHttpStreamDriver
Source§fn clone(&self) -> TokioHttpStreamDriver
fn clone(&self) -> TokioHttpStreamDriver
Returns a duplicate of the value. Read more
1.0.0 · 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 TokioHttpStreamDriver
impl Debug for TokioHttpStreamDriver
Source§impl Default for TokioHttpStreamDriver
impl Default for TokioHttpStreamDriver
Source§fn default() -> TokioHttpStreamDriver
fn default() -> TokioHttpStreamDriver
Returns the “default value” for a type. Read more
Source§impl LocalHttpStreamDriver for TokioHttpStreamDriver
Available on crate feature tokio-http-stream only.
impl LocalHttpStreamDriver for TokioHttpStreamDriver
Available on crate feature
tokio-http-stream only.Source§fn stream(
&self,
request: HttpRequest,
callback: Rc<dyn Fn(HttpStreamDriverEvent)>,
) -> DriverCancel
fn stream( &self, request: HttpRequest, callback: Rc<dyn Fn(HttpStreamDriverEvent)>, ) -> DriverCancel
Updates or reads
stream.Auto Trait Implementations§
impl Freeze for TokioHttpStreamDriver
impl !RefUnwindSafe for TokioHttpStreamDriver
impl Send for TokioHttpStreamDriver
impl Sync for TokioHttpStreamDriver
impl Unpin for TokioHttpStreamDriver
impl UnsafeUnpin for TokioHttpStreamDriver
impl !UnwindSafe for TokioHttpStreamDriver
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