pub struct InspectSinkFetchEscrowRequest {
pub token: Option<EscrowToken>,
pub tree: Option<ClientEnd<TreeMarker>>,
/* private fields */
}
Fields§
§token: Option<EscrowToken>
The token associated with the VMO taht we want to fetch. If this token isn’t associated with any VMO the response will be empty.
Required
tree: Option<ClientEnd<TreeMarker>>
A handle that the server can use to continue reading data associated
with this VMO. The previous name that the component had given to
this VMO will be maintained. This would be equivalent to calling
Publish
with the return VMO, except that it removes the race that
can happen if Inspect data is read, between the time that the
component fetches the VMO and publishes a tree for it.
Optional
Trait Implementations§
Source§impl Decode<InspectSinkFetchEscrowRequest, DefaultFuchsiaResourceDialect> for InspectSinkFetchEscrowRequest
impl Decode<InspectSinkFetchEscrowRequest, DefaultFuchsiaResourceDialect> for InspectSinkFetchEscrowRequest
Source§impl Default for InspectSinkFetchEscrowRequest
impl Default for InspectSinkFetchEscrowRequest
Source§fn default() -> InspectSinkFetchEscrowRequest
fn default() -> InspectSinkFetchEscrowRequest
Returns the “default value” for a type. Read more
Source§impl Encode<InspectSinkFetchEscrowRequest, DefaultFuchsiaResourceDialect> for &mut InspectSinkFetchEscrowRequest
impl Encode<InspectSinkFetchEscrowRequest, DefaultFuchsiaResourceDialect> for &mut InspectSinkFetchEscrowRequest
Source§impl PartialEq for InspectSinkFetchEscrowRequest
impl PartialEq for InspectSinkFetchEscrowRequest
Source§fn eq(&self, other: &InspectSinkFetchEscrowRequest) -> bool
fn eq(&self, other: &InspectSinkFetchEscrowRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ResourceTypeMarker for InspectSinkFetchEscrowRequest
impl ResourceTypeMarker for InspectSinkFetchEscrowRequest
Source§type Borrowed<'a> = &'a mut InspectSinkFetchEscrowRequest
type Borrowed<'a> = &'a mut InspectSinkFetchEscrowRequest
The Rust type to use for encoding. This is a particular
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>
Cheaply converts from
&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 InspectSinkFetchEscrowRequest
impl TypeMarker for InspectSinkFetchEscrowRequest
Source§type Owned = InspectSinkFetchEscrowRequest
type Owned = InspectSinkFetchEscrowRequest
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.impl Standalone<DefaultFuchsiaResourceDialect> for InspectSinkFetchEscrowRequest
impl StructuralPartialEq for InspectSinkFetchEscrowRequest
Auto Trait Implementations§
impl Freeze for InspectSinkFetchEscrowRequest
impl RefUnwindSafe for InspectSinkFetchEscrowRequest
impl Send for InspectSinkFetchEscrowRequest
impl Sync for InspectSinkFetchEscrowRequest
impl Unpin for InspectSinkFetchEscrowRequest
impl UnwindSafe for InspectSinkFetchEscrowRequest
Blanket Implementations§
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