pub trait NullableBuilder<'buffer>: Builder<'buffer> {
// Required method
fn build_null() -> Self::Output;
}
Expand description
A builder that can also build its object type from a CBOR null data item rather than a map.
Required Methods§
Sourcefn build_null() -> Self::Output
fn build_null() -> Self::Output
Builds the object from a CBOR null data item.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.