Skip to main content

Options

Trait Options 

Source
pub trait Options {
    type Encoding;

    const VISITOR_TYPE: VisitorType = _;
}
Expand description

Determines how exactly BytesWrapper should wrap the underlying type.

Provided Associated Constants§

Source

const VISITOR_TYPE: VisitorType = _

During deserialization, how should the byte array be visited?

Required Associated Types§

Source

type Encoding

How this type is encoded (e.g. base16, base64, etc.)

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.

Implementations on Foreign Types§

Source§

impl<E> Options for (E,)
where E: BytesEncoding,

Implementors§