vfs::file::connection

Trait GetVmo

Source
pub trait GetVmo {
    const PAGER_ON_FIDL_EXECUTOR: bool = false;

    // Required method
    fn get_vmo(&self) -> &Vmo;
}

Provided Associated Constants§

Source

const PAGER_ON_FIDL_EXECUTOR: bool = false

True if the vmo is pager backed and the pager is serviced by the same executor as the StreamIoConnection.

When true, stream operations that touch the contents of the vmo will be run on a separate thread pool to avoid deadlocks.

Required Methods§

Source

fn get_vmo(&self) -> &Vmo

Returns the underlying VMO for the node.

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§