Struct fidl_fuchsia_io::DirectoryOpen3Request
source · pub struct DirectoryOpen3Request {
pub path: String,
pub flags: Flags,
pub options: Options,
pub object: Channel,
}
Fields§
§path: String
§flags: Flags
§options: Options
§object: Channel
Trait Implementations§
source§impl Debug for DirectoryOpen3Request
impl Debug for DirectoryOpen3Request
source§impl Decode<DirectoryOpen3Request, DefaultFuchsiaResourceDialect> for DirectoryOpen3Request
impl Decode<DirectoryOpen3Request, DefaultFuchsiaResourceDialect> for DirectoryOpen3Request
source§impl Encode<DirectoryOpen3Request, DefaultFuchsiaResourceDialect> for &mut DirectoryOpen3Request
impl Encode<DirectoryOpen3Request, DefaultFuchsiaResourceDialect> for &mut DirectoryOpen3Request
source§impl<T0: Encode<BoundedString<4095>, DefaultFuchsiaResourceDialect>, T1: Encode<Flags, DefaultFuchsiaResourceDialect>, T2: Encode<Options, DefaultFuchsiaResourceDialect>, T3: Encode<HandleType<Channel, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>> Encode<DirectoryOpen3Request, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3)
impl<T0: Encode<BoundedString<4095>, DefaultFuchsiaResourceDialect>, T1: Encode<Flags, DefaultFuchsiaResourceDialect>, T2: Encode<Options, DefaultFuchsiaResourceDialect>, T3: Encode<HandleType<Channel, { _ }, 2147483648>, DefaultFuchsiaResourceDialect>> Encode<DirectoryOpen3Request, DefaultFuchsiaResourceDialect> for (T0, T1, T2, T3)
source§impl PartialEq for DirectoryOpen3Request
impl PartialEq for DirectoryOpen3Request
source§fn eq(&self, other: &DirectoryOpen3Request) -> bool
fn eq(&self, other: &DirectoryOpen3Request) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ResourceTypeMarker for DirectoryOpen3Request
impl ResourceTypeMarker for DirectoryOpen3Request
§type Borrowed<'a> = &'a mut DirectoryOpen3Request
type Borrowed<'a> = &'a mut DirectoryOpen3Request
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &mut Self::Owned
. There are three cases: Read moresource§fn take_or_borrow<'a>(
value: &'a mut <Self as TypeMarker>::Owned,
) -> Self::Borrowed<'a>
fn take_or_borrow<'a>( value: &'a mut <Self as TypeMarker>::Owned, ) -> Self::Borrowed<'a>
Cheaply converts from
&mut Self::Owned
to Self::Borrowed
. For
HandleBased
types this is “take” (it returns an owned handle and
replaces value
with Handle::invalid
), and for all other types it is
“borrow” (just converts from one reference to another).source§impl TypeMarker for DirectoryOpen3Request
impl TypeMarker for DirectoryOpen3Request
§type Owned = DirectoryOpen3Request
type Owned = DirectoryOpen3Request
The owned Rust type which this FIDL type decodes into.
source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.impl Standalone<DefaultFuchsiaResourceDialect> for DirectoryOpen3Request
impl StructuralPartialEq for DirectoryOpen3Request
Auto Trait Implementations§
impl Freeze for DirectoryOpen3Request
impl RefUnwindSafe for DirectoryOpen3Request
impl Send for DirectoryOpen3Request
impl Sync for DirectoryOpen3Request
impl Unpin for DirectoryOpen3Request
impl UnwindSafe for DirectoryOpen3Request
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