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§
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.