Enum brotli::enc::encode::BrotliEncoderStreamState
source · #[repr(i32)]pub enum BrotliEncoderStreamState {
BROTLI_STREAM_PROCESSING = 0,
BROTLI_STREAM_FLUSH_REQUESTED = 1,
BROTLI_STREAM_FINISHED = 2,
BROTLI_STREAM_METADATA_HEAD = 3,
BROTLI_STREAM_METADATA_BODY = 4,
}
Variants§
BROTLI_STREAM_PROCESSING = 0
BROTLI_STREAM_FLUSH_REQUESTED = 1
BROTLI_STREAM_FINISHED = 2
BROTLI_STREAM_METADATA_HEAD = 3
BROTLI_STREAM_METADATA_BODY = 4
Trait Implementations§
source§impl Clone for BrotliEncoderStreamState
impl Clone for BrotliEncoderStreamState
source§fn clone(&self) -> BrotliEncoderStreamState
fn clone(&self) -> BrotliEncoderStreamState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for BrotliEncoderStreamState
impl PartialEq for BrotliEncoderStreamState
source§fn eq(&self, other: &BrotliEncoderStreamState) -> bool
fn eq(&self, other: &BrotliEncoderStreamState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BrotliEncoderStreamState
impl Eq for BrotliEncoderStreamState
impl StructuralPartialEq for BrotliEncoderStreamState
Auto Trait Implementations§
impl Freeze for BrotliEncoderStreamState
impl RefUnwindSafe for BrotliEncoderStreamState
impl Send for BrotliEncoderStreamState
impl Sync for BrotliEncoderStreamState
impl Unpin for BrotliEncoderStreamState
impl UnwindSafe for BrotliEncoderStreamState
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)