Enum cameleon::payload::PayloadType
source · pub enum PayloadType {
Image,
ImageExtendedChunk,
Chunk,
}
Expand description
Represents Payload type of the image.
Variants§
Image
Payload contains just an image data only.
ImageExtendedChunk
Payload contains multiple data chunks, and its first chunk is an image.
Chunk
Payload contains multiple data chunks, no gurantee about its first chunk.
Trait Implementations§
source§impl Clone for PayloadType
impl Clone for PayloadType
source§fn clone(&self) -> PayloadType
fn clone(&self) -> PayloadType
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 Debug for PayloadType
impl Debug for PayloadType
source§impl PartialEq<PayloadType> for PayloadType
impl PartialEq<PayloadType> for PayloadType
source§fn eq(&self, other: &PayloadType) -> bool
fn eq(&self, other: &PayloadType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PayloadType
impl Eq for PayloadType
impl StructuralEq for PayloadType
impl StructuralPartialEq for PayloadType
Auto Trait Implementations§
impl RefUnwindSafe for PayloadType
impl Send for PayloadType
impl Sync for PayloadType
impl Unpin for PayloadType
impl UnwindSafe for PayloadType
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