pub struct BrotliEncoder { /* private fields */ }
Available on crate feature
brotli
only.Implementations§
Source§impl BrotliEncoder
impl BrotliEncoder
pub fn new(params: EncoderParams) -> Self
Trait Implementations§
Source§impl Debug for BrotliEncoder
impl Debug for BrotliEncoder
Source§impl Encode for BrotliEncoder
impl Encode for BrotliEncoder
fn encode( &mut self, input: &mut PartialBuffer<impl AsRef<[u8]>>, output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for BrotliEncoder
impl RefUnwindSafe for BrotliEncoder
impl Send for BrotliEncoder
impl Sync for BrotliEncoder
impl Unpin for BrotliEncoder
impl UnwindSafe for BrotliEncoder
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