Struct fidl_fuchsia_io::ImmutableNodeAttributes
source · pub struct ImmutableNodeAttributes {
pub protocols: Option<NodeProtocolKinds>,
pub abilities: Option<Operations>,
pub content_size: Option<u64>,
pub storage_size: Option<u64>,
pub link_count: Option<u64>,
pub id: Option<u64>,
pub change_time: Option<u64>,
pub options: Option<VerificationOptions>,
pub root_hash: Option<Vec<u8>>,
/* private fields */
}
Fields§
§protocols: Option<NodeProtocolKinds>
Describes the kinds of representations supported by the node.
Note: This is not the result of the connection-time negotiation,
which is conveyed via representation
.
abilities: Option<Operations>
Describes the kinds of operations supported by the node. Note: This is distinct from the rights used at connection time.
content_size: Option<u64>
Node size, in bytes.
storage_size: Option<u64>
Space needed to store the node (possibly larger than size), in bytes.
link_count: Option<u64>
Number of hard links to the node. It must be at least one.
id: Option<u64>
An ID for the node. See Id
.
This id
should be unique among all entries of a directory.
change_time: Option<u64>
Time of last change to the metadata in nanoseconds since the Unix epoch, UTC.
options: Option<VerificationOptions>
Contains the verification options for fsverity-enabled files.
root_hash: Option<Vec<u8>>
The root hash for the file. Not all filesystems support this across all files.
Trait Implementations§
source§impl Clone for ImmutableNodeAttributes
impl Clone for ImmutableNodeAttributes
source§fn clone(&self) -> ImmutableNodeAttributes
fn clone(&self) -> ImmutableNodeAttributes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImmutableNodeAttributes
impl Debug for ImmutableNodeAttributes
source§impl Decode<ImmutableNodeAttributes> for ImmutableNodeAttributes
impl Decode<ImmutableNodeAttributes> for ImmutableNodeAttributes
source§impl Default for ImmutableNodeAttributes
impl Default for ImmutableNodeAttributes
source§fn default() -> ImmutableNodeAttributes
fn default() -> ImmutableNodeAttributes
Returns the “default value” for a type. Read more
source§impl Encode<ImmutableNodeAttributes> for &ImmutableNodeAttributes
impl Encode<ImmutableNodeAttributes> for &ImmutableNodeAttributes
source§impl PartialEq for ImmutableNodeAttributes
impl PartialEq for ImmutableNodeAttributes
source§fn eq(&self, other: &ImmutableNodeAttributes) -> bool
fn eq(&self, other: &ImmutableNodeAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypeMarker for ImmutableNodeAttributes
impl TypeMarker for ImmutableNodeAttributes
§type Owned = ImmutableNodeAttributes
type Owned = ImmutableNodeAttributes
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.source§impl ValueTypeMarker for ImmutableNodeAttributes
impl ValueTypeMarker for ImmutableNodeAttributes
§type Borrowed<'a> = &'a ImmutableNodeAttributes
type Borrowed<'a> = &'a ImmutableNodeAttributes
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for ImmutableNodeAttributes
impl StructuralPartialEq for ImmutableNodeAttributes
Auto Trait Implementations§
impl RefUnwindSafe for ImmutableNodeAttributes
impl Send for ImmutableNodeAttributes
impl Sync for ImmutableNodeAttributes
impl Unpin for ImmutableNodeAttributes
impl UnwindSafe for ImmutableNodeAttributes
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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