Skip to main content

ReadBytes

Trait ReadBytes 

Source
pub trait ReadBytes: Send + Sync {
    // Required methods
    fn read(&self, range: ByteRange) -> IonResult<SourceBytes>;
    fn total_len(&self) -> Option<u64>;
}

Required Methods§

Source

fn read(&self, range: ByteRange) -> IonResult<SourceBytes>

Source

fn total_len(&self) -> Option<u64>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§