pub struct ProxyDescription {
pub protocol_major: Option<u32>,
pub protocol_minor: Option<u32>,
pub proxy_generation: Option<u64>,
pub boot_id: Option<String>,
pub resource_digest: Option<String>,
pub policy_digest: Option<String>,
pub resources: Option<Vec<ResourceDescription>>,
pub max_snapshot_items: Option<u32>,
pub audit_capacity: Option<u64>,
pub node_moniker: Option<String>,
pub topology_generation: Option<u64>,
pub takeover: Option<TakeoverState>,
/* private fields */
}Fields§
§protocol_major: Option<u32>§protocol_minor: Option<u32>§proxy_generation: Option<u64>§boot_id: Option<String>§resource_digest: Option<String>Whole-instance resource-description digest.
policy_digest: Option<String>§resources: Option<Vec<ResourceDescription>>§max_snapshot_items: Option<u32>§audit_capacity: Option<u64>§node_moniker: Option<String>Moniker of the node this proxy instance is bound to. Absent until the proxy is bound to a node.
topology_generation: Option<u64>Reserved for phase 2: Driver Manager topology generation at bind time, used for takeover staleness. Absent in phase 1.
takeover: Option<TakeoverState>Takeover lifecycle state. Phase 1 reports NOT_ACTIVE.
Trait Implementations§
Source§impl Clone for ProxyDescription
impl Clone for ProxyDescription
Source§impl Debug for ProxyDescription
impl Debug for ProxyDescription
Source§impl<D: ResourceDialect> Decode<ProxyDescription, D> for ProxyDescription
impl<D: ResourceDialect> Decode<ProxyDescription, D> for ProxyDescription
Source§impl Default for ProxyDescription
impl Default for ProxyDescription
Source§impl<D: ResourceDialect> Encode<ProxyDescription, D> for &ProxyDescription
impl<D: ResourceDialect> Encode<ProxyDescription, D> for &ProxyDescription
Source§impl PartialEq for ProxyDescription
impl PartialEq for ProxyDescription
impl Persistable for ProxyDescription
impl StructuralPartialEq for ProxyDescription
Source§impl TypeMarker for ProxyDescription
impl TypeMarker for ProxyDescription
Source§type Owned = ProxyDescription
type Owned = ProxyDescription
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.Source§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 moreSource§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 ProxyDescription
impl ValueTypeMarker for ProxyDescription
Source§type Borrowed<'a> = &'a ProxyDescription
type Borrowed<'a> = &'a ProxyDescription
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreAuto Trait Implementations§
impl Freeze for ProxyDescription
impl RefUnwindSafe for ProxyDescription
impl Send for ProxyDescription
impl Sync for ProxyDescription
impl Unpin for ProxyDescription
impl UnsafeUnpin for ProxyDescription
impl UnwindSafe for ProxyDescription
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§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