pub struct OpenedCameraStream {
pub content_type: String,
pub reader: Box<dyn Read + Send + 'static>,
}Expand description
An opened MJPEG stream: the upstream content-type (which carries the
multipart boundary) plus a blocking reader over the long-lived body.
Fields§
§content_type: String§reader: Box<dyn Read + Send + 'static>Auto Trait Implementations§
impl !RefUnwindSafe for OpenedCameraStream
impl !Sync for OpenedCameraStream
impl !UnwindSafe for OpenedCameraStream
impl Freeze for OpenedCameraStream
impl Send for OpenedCameraStream
impl Unpin for OpenedCameraStream
impl UnsafeUnpin for OpenedCameraStream
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