Skip to main content

BytesSource

Trait BytesSource 

Source
pub trait BytesSource {
    // Required method
    fn load(&self) -> Vec<u8> ;
}
Expand description

A handle to bytes previously written via a BytesStore.

Required Methods§

Source

fn load(&self) -> Vec<u8>

Read the bytes back. Panics on failure (the trace cannot make progress without them).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§