pub struct Stream<'a> {
pub header: Dictionary<'a>,
pub bytes: Vec<u8>,
}Fields§
§header: Dictionary<'a>§bytes: Vec<u8>Trait Implementations§
Source§impl From<Stream<'_>> for Stream
impl From<Stream<'_>> for Stream
Source§fn from(object: StreamObject<'_>) -> Self
fn from(object: StreamObject<'_>) -> Self
Converts to this type from the input type.
Source§impl From<Stream<'_>> for XRefStream
impl From<Stream<'_>> for XRefStream
impl<'a> StructuralPartialEq for Stream<'a>
Auto Trait Implementations§
impl<'a> Freeze for Stream<'a>
impl<'a> RefUnwindSafe for Stream<'a>
impl<'a> !Send for Stream<'a>
impl<'a> !Sync for Stream<'a>
impl<'a> Unpin for Stream<'a>
impl<'a> UnwindSafe for Stream<'a>
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