pub trait DeflateOutput {
const MAX_LOOK_BACK: usize = 32_768usize;
const OVERWRITE_MAX: usize = 16usize;
// Required methods
fn has_writable_length(&mut self, length: usize) -> bool;
fn flush_ensure_length(&mut self, length: usize) -> bool;
fn get_output_ptr(&mut self) -> *mut u8;
unsafe fn set_output_ptr(&mut self, ptr: *mut u8);
fn final_flush(&mut self) -> Result<OutStreamResult, ()>;
}Provided Associated Constants§
const MAX_LOOK_BACK: usize = 32_768usize
const OVERWRITE_MAX: usize = 16usize
Required Methods§
fn has_writable_length(&mut self, length: usize) -> bool
fn flush_ensure_length(&mut self, length: usize) -> bool
fn get_output_ptr(&mut self) -> *mut u8
unsafe fn set_output_ptr(&mut self, ptr: *mut u8)
fn final_flush(&mut self) -> Result<OutStreamResult, ()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.