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