pub struct InspectSinkEscrowRequest {
pub vmo: Option<Vmo>,
pub token: Option<EscrowToken>,
pub name: Option<String>,
pub tree: Option<u64>,
/* private fields */
}
Fields§
§vmo: Option<Vmo>
The VMO containing Inspect data that the server will store. Required
token: Option<EscrowToken>
The token identifying this VMO and also serving as a controller to stop storing this VMO in the server. Required
name: Option<String>
An optional name to identify this VMO, that can be human readable.
Optional
tree: Option<u64>
An optional reference to the Tree that was previously provided to
the server using Publish
. The server will drop the handle
associated with that tree connection, triggering a peer closed on
the tree server. This enables the client to ensure the following:
- Tree data and escrowed data won’t be present twice in snapshots.
- The caller can know when to stop serving the tree, preventing data missing from snapshots.
If name
isn’t provided, the name
of this Inspect will be the one
associated with this tree.
If the server isn’t tracking any handle associated with the source component with this koid, this will be ignored and treated as if nothing had been provided.
Optional
Trait Implementations§
Source§impl Debug for InspectSinkEscrowRequest
impl Debug for InspectSinkEscrowRequest
Source§impl Decode<InspectSinkEscrowRequest, DefaultFuchsiaResourceDialect> for InspectSinkEscrowRequest
impl Decode<InspectSinkEscrowRequest, DefaultFuchsiaResourceDialect> for InspectSinkEscrowRequest
Source§impl Default for InspectSinkEscrowRequest
impl Default for InspectSinkEscrowRequest
Source§fn default() -> InspectSinkEscrowRequest
fn default() -> InspectSinkEscrowRequest
Source§impl Encode<InspectSinkEscrowRequest, DefaultFuchsiaResourceDialect> for &mut InspectSinkEscrowRequest
impl Encode<InspectSinkEscrowRequest, DefaultFuchsiaResourceDialect> for &mut InspectSinkEscrowRequest
Source§impl PartialEq for InspectSinkEscrowRequest
impl PartialEq for InspectSinkEscrowRequest
Source§impl ResourceTypeMarker for InspectSinkEscrowRequest
impl ResourceTypeMarker for InspectSinkEscrowRequest
Source§type Borrowed<'a> = &'a mut InspectSinkEscrowRequest
type Borrowed<'a> = &'a mut InspectSinkEscrowRequest
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>
&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 InspectSinkEscrowRequest
impl TypeMarker for InspectSinkEscrowRequest
Source§type Owned = InspectSinkEscrowRequest
type Owned = InspectSinkEscrowRequest
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
.§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 more§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.