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>>,
pub verity_enabled: Option<bool>,
/* 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 verity-enabled files.
root_hash: Option<Vec<u8>>
The root hash for the file. Not all filesystems support this across all files.
verity_enabled: Option<bool>
True if this file is verity-enabled.
Trait Implementations§
Source§impl Clone for ImmutableNodeAttributes
impl Clone for ImmutableNodeAttributes
Source§fn clone(&self) -> ImmutableNodeAttributes
fn clone(&self) -> ImmutableNodeAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ImmutableNodeAttributes
impl Debug for ImmutableNodeAttributes
Source§impl<D> Decode<ImmutableNodeAttributes, D> for ImmutableNodeAttributeswhere
D: ResourceDialect,
impl<D> Decode<ImmutableNodeAttributes, D> for ImmutableNodeAttributeswhere
D: ResourceDialect,
Source§fn new_empty() -> ImmutableNodeAttributes
fn new_empty() -> ImmutableNodeAttributes
Self
. The specific value does not matter,
since it will be overwritten by decode
.Source§impl Default for ImmutableNodeAttributes
impl Default for ImmutableNodeAttributes
Source§fn default() -> ImmutableNodeAttributes
fn default() -> ImmutableNodeAttributes
Source§impl<D> Encode<ImmutableNodeAttributes, D> for &ImmutableNodeAttributeswhere
D: ResourceDialect,
impl<D> Encode<ImmutableNodeAttributes, D> for &ImmutableNodeAttributeswhere
D: ResourceDialect,
Source§impl PartialEq for ImmutableNodeAttributes
impl PartialEq for ImmutableNodeAttributes
Source§impl TypeMarker for ImmutableNodeAttributes
impl TypeMarker for ImmutableNodeAttributes
Source§type Owned = ImmutableNodeAttributes
type Owned = ImmutableNodeAttributes
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
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 moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
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
Source§type Borrowed<'a> = &'a ImmutableNodeAttributes
type Borrowed<'a> = &'a ImmutableNodeAttributes
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreSource§fn borrow(
value: &<ImmutableNodeAttributes as TypeMarker>::Owned,
) -> <ImmutableNodeAttributes as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<ImmutableNodeAttributes as TypeMarker>::Owned, ) -> <ImmutableNodeAttributes as ValueTypeMarker>::Borrowed<'_>
&Self::Owned
to Self::Borrowed
.impl Persistable for ImmutableNodeAttributes
impl StructuralPartialEq for ImmutableNodeAttributes
Auto Trait Implementations§
impl Freeze for ImmutableNodeAttributes
impl RefUnwindSafe for ImmutableNodeAttributes
impl Send for ImmutableNodeAttributes
impl Sync for ImmutableNodeAttributes
impl Unpin for ImmutableNodeAttributes
impl UnwindSafe for ImmutableNodeAttributes
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
T
to [Self
]