#[repr(C)]pub struct DeflateStream<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DeflateStream<'a>
impl<'a> DeflateStream<'a>
Sourcepub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self>
pub unsafe fn from_stream_mut(strm: *mut z_stream) -> Option<&'a mut Self>
§Safety
Behavior is undefined if any of the following conditions are violated:
strm
satisfies the conditions ofpointer::as_mut
- if not
NULL
,strm
as initialized usinginit
or similar
pub fn pending(&self) -> (usize, u8)
Auto Trait Implementations§
impl<'a> Freeze for DeflateStream<'a>
impl<'a> RefUnwindSafe for DeflateStream<'a>
impl<'a> !Send for DeflateStream<'a>
impl<'a> !Sync for DeflateStream<'a>
impl<'a> Unpin for DeflateStream<'a>
impl<'a> !UnwindSafe for DeflateStream<'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