pub struct DirectoryOpenRequest {
pub path: String,
pub flags: Flags,
pub options: Options,
pub object: Handle,
}
Fields§
§path: String
§flags: Flags
§options: Options
§object: Handle
Trait Implementations§
Source§impl Debug for DirectoryOpenRequest
impl Debug for DirectoryOpenRequest
Source§impl Encodable for DirectoryOpenRequest
impl Encodable for DirectoryOpenRequest
Source§type Encoded = WireDirectoryOpenRequest
type Encoded = WireDirectoryOpenRequest
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<DirectoryOpenRequest>
impl EncodableOption for Box<DirectoryOpenRequest>
Source§type EncodedOption = WireBox<WireDirectoryOpenRequest>
type EncodedOption = WireBox<WireDirectoryOpenRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirectoryOpenRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<___E> for DirectoryOpenRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DirectoryOpenRequest>where
___E: Encoder + ?Sized,
DirectoryOpenRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<DirectoryOpenRequest>where
___E: Encoder + ?Sized,
DirectoryOpenRequest: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireDirectoryOpenRequest> for DirectoryOpenRequest
impl TakeFrom<WireDirectoryOpenRequest> for DirectoryOpenRequest
Source§fn take_from(from: &WireDirectoryOpenRequest) -> Self
fn take_from(from: &WireDirectoryOpenRequest) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for DirectoryOpenRequest
impl RefUnwindSafe for DirectoryOpenRequest
impl Send for DirectoryOpenRequest
impl Sync for DirectoryOpenRequest
impl Unpin for DirectoryOpenRequest
impl UnwindSafe for DirectoryOpenRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more