gio::prelude

Trait MemoryInputStreamExt

Source
pub trait MemoryInputStreamExt:
    IsA<MemoryInputStream>
    + Sealed
    + 'static {
    // Provided method
    fn add_bytes(&self, bytes: &Bytes) { ... }
}
Expand description

Trait containing all MemoryInputStream methods.

§Implementors

MemoryInputStream

Provided Methods§

Source

fn add_bytes(&self, bytes: &Bytes)

Appends @bytes to data that can be read from the input stream.

§bytes

input data

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.

Implementors§