vfs::object_request

Trait ToObjectRequest

Source
pub trait ToObjectRequest: ProtocolsExt {
    // Required method
    fn to_object_request(
        &self,
        object_request: impl Into<Handle>,
    ) -> ObjectRequest;
}
Expand description

Convenience trait for converting fio::Flags and fio::OpenFlags into ObjectRequest.

If fio::Options need to be specified, use ObjectRequest::new.

Required Methods§

Source

fn to_object_request(&self, object_request: impl Into<Handle>) -> ObjectRequest

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.

Implementations on Foreign Types§

Source§

impl ToObjectRequest for Flags

Source§

fn to_object_request(&self, object_request: impl Into<Handle>) -> ObjectRequest

Source§

impl ToObjectRequest for OpenFlags

Source§

fn to_object_request(&self, object_request: impl Into<Handle>) -> ObjectRequest

Implementors§