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
impl Copy for PayloadType
Source§impl Debug for PayloadType
impl Debug for PayloadType
impl Eq for PayloadType
Source§impl PartialEq for PayloadType
impl PartialEq for PayloadType
impl StructuralPartialEq for PayloadType
Auto Trait Implementations§
impl Freeze for PayloadType
impl RefUnwindSafe for PayloadType
impl Send for PayloadType
impl Sync for PayloadType
impl Unpin for PayloadType
impl UnsafeUnpin 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