Enum cloudevents::message::Encoding
source · pub enum Encoding {
STRUCTURED,
BINARY,
UNKNOWN,
}
Expand description
Represents one of the possible message encodings/modes.
Variants§
STRUCTURED
Represents the structured-mode message.
BINARY
Represents the binary-mode message.
UNKNOWN
Represents a non-CloudEvent or a malformed CloudEvent that cannot be recognized by the SDK.
Trait Implementations§
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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