Enum futures_cbor_codec::SdMode [−][src]
pub enum SdMode { Always, Once, Never, }
Expand description
Describes the behaviour of self-describe tags.
CBOR defines a tag which can be used to recognize a document as being CBOR (it’s sometimes called „magic“). This specifies if it should be present when encoding.
Variants
Places the tag in front of each encoded frame.
Places the tag in front of the first encoded frame.
Doesn’t place the tag at all.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SdMode
impl UnwindSafe for SdMode
Blanket Implementations
Mutably borrows from an owned value. Read more