pub enum StreamOperation {
Encode,
Decode,
}Expand description
Wraps compression_stream_operation values.
Variants§
Trait Implementations§
Source§impl Clone for StreamOperation
impl Clone for StreamOperation
Source§fn clone(&self) -> StreamOperation
fn clone(&self) -> StreamOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamOperation
Source§impl Debug for StreamOperation
impl Debug for StreamOperation
impl Eq for StreamOperation
Source§impl PartialEq for StreamOperation
impl PartialEq for StreamOperation
Source§fn eq(&self, other: &StreamOperation) -> bool
fn eq(&self, other: &StreamOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamOperation
Auto Trait Implementations§
impl Freeze for StreamOperation
impl RefUnwindSafe for StreamOperation
impl Send for StreamOperation
impl Sync for StreamOperation
impl Unpin for StreamOperation
impl UnsafeUnpin for StreamOperation
impl UnwindSafe for StreamOperation
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