pub struct Stream { /* private fields */ }Implementations§
Source§impl Stream
impl Stream
pub fn new(data: Vec<u8>) -> Self
pub fn with_dictionary(dictionary: Dictionary, data: Vec<u8>) -> Self
pub fn dictionary(&self) -> &Dictionary
pub fn dictionary_mut(&mut self) -> &mut Dictionary
pub fn data(&self) -> &[u8] ⓘ
pub fn data_mut(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_filter(&mut self, filter: &str)
pub fn set_decode_params(&mut self, params: Dictionary)
pub fn compress_flate(&mut self) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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