pub struct NodeInfo {
pub id: Option<u64>,
pub parent_ids: Option<Vec<u64>>,
pub child_ids: Option<Vec<u64>>,
pub driver_host_koid: Option<u64>,
pub bound_driver_url: Option<String>,
pub moniker: Option<String>,
pub node_property_list: Option<Vec<NodeProperty>>,
pub offer_list: Option<Vec<Offer>>,
pub quarantined: Option<bool>,
pub bus_topology: Option<Vec<BusInfo>>,
/* private fields */
}
Fields§
§id: Option<u64>
Unique ID identifying the node.
parent_ids: Option<Vec<u64>>
List of ids representing parents. If more than one, this is a composite node.
child_ids: Option<Vec<u64>>
List of ids representing children.
driver_host_koid: Option<u64>
The process KOID of the driver host the driver resides within.
bound_driver_url: Option<String>
URL to the driver component manifest
moniker: Option<String>
The collection-relative moniker of the node.
node_property_list: Option<Vec<NodeProperty>>
Properties of the node.
offer_list: Option<Vec<Offer>>
Component offers to the node.
quarantined: Option<bool>
Whether the node is in a quarantined state. That is, the |bound_driver_url| has failed to start, and the node is no longer running its driver instance.
bus_topology: Option<Vec<BusInfo>>
Information about the node’s bus topology.
Trait Implementations§
Source§impl<D: ResourceDialect> Decode<NodeInfo, D> for NodeInfo
impl<D: ResourceDialect> Decode<NodeInfo, D> for NodeInfo
Source§impl TypeMarker for NodeInfo
impl TypeMarker for NodeInfo
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 NodeInfo
impl ValueTypeMarker for NodeInfo
impl Persistable for NodeInfo
impl StructuralPartialEq for NodeInfo
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)