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:
strmsatisfies the conditions ofpointer::as_ref- if not
NULL,strmas initialized usinginitor 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:
strmsatisfies the conditions ofpointer::as_mut- if not
NULL,strmas initialized usinginitor similar
pub fn new(config: InflateConfig) -> Self
Trait Implementations§
impl Send for InflateStream<'_>
impl Sync for InflateStream<'_>
Auto Trait Implementations§
impl<'a> Freeze for InflateStream<'a>
impl<'a> RefUnwindSafe 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