pub trait AsDeserializingBufferProvider {
// Required method
fn as_deserializing(&self) -> DeserializingBufferProvider<'_, Self>;
}
Expand description
Blanket-implemented trait adding the Self::as_deserializing()
function.
Required Methods§
sourcefn as_deserializing(&self) -> DeserializingBufferProvider<'_, Self>
fn as_deserializing(&self) -> DeserializingBufferProvider<'_, Self>
Wrap this BufferProvider
in a DeserializingBufferProvider
.
This requires enabling the deserialization Cargo feature for the expected format(s):
deserialize_json
deserialize_postcard_1
deserialize_bincode_1
Object Safety§
This trait is not object safe.