#[repr(C)]pub struct compression_stream {
pub dst_ptr: *mut uint8_t,
pub dst_size: size_t,
pub src_ptr: *const uint8_t,
pub src_size: size_t,
pub state: *mut c_void,
}
Expand description
A structure representing a compression stream.
Fields§
§dst_ptr: *mut uint8_t
A pointer to the first byte of the destination buffer.
dst_size: size_t
The size, in bytes, of the destination buffer.
src_ptr: *const uint8_t
A pointer to the first byte of the source buffer.
src_size: size_t
The size, in bytes, of the source buffer.
state: *mut c_void
The stream state object of the compression stream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for compression_stream
impl RefUnwindSafe for compression_stream
impl !Send for compression_stream
impl !Sync for compression_stream
impl Unpin for compression_stream
impl UnwindSafe for compression_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