pub struct ManagerProxyWakeChannelRequest {
pub container_job: Option<Job>,
pub container_channel: Option<Channel>,
pub remote_channel: Option<Channel>,
pub name: Option<String>,
pub counter: Option<Counter>,
/* private fields */
}
Fields§
§container_job: Option<Job>
The job of the container that holds the other end of container_channel
.
container_channel: Option<Channel>
The channel endpoint that is connected to the container.
remote_channel: Option<Channel>
The channel endpoint that is connected to a component outside the container.
name: Option<String>
The name of the proxy, used for debugging purposes.
counter: Option<Counter>
A counter that is used to count how many unhandled requests have been sent to the container. If this counter is non-zero, the container will not be able to suspend.
Each time the client handles a message on the proxied channel, it is expected to decrement the counter by 1. This decrement should only happen once the client is ready to allow suspension. Often this means that a new hanging get has been sent on the proxied channel.
Trait Implementations§
Source§impl Decode<ManagerProxyWakeChannelRequest, DefaultFuchsiaResourceDialect> for ManagerProxyWakeChannelRequest
impl Decode<ManagerProxyWakeChannelRequest, DefaultFuchsiaResourceDialect> for ManagerProxyWakeChannelRequest
Source§impl Default for ManagerProxyWakeChannelRequest
impl Default for ManagerProxyWakeChannelRequest
Source§fn default() -> ManagerProxyWakeChannelRequest
fn default() -> ManagerProxyWakeChannelRequest
Returns the “default value” for a type. Read more
Source§impl Encode<ManagerProxyWakeChannelRequest, DefaultFuchsiaResourceDialect> for &mut ManagerProxyWakeChannelRequest
impl Encode<ManagerProxyWakeChannelRequest, DefaultFuchsiaResourceDialect> for &mut ManagerProxyWakeChannelRequest
Source§impl PartialEq for ManagerProxyWakeChannelRequest
impl PartialEq for ManagerProxyWakeChannelRequest
Source§fn eq(&self, other: &ManagerProxyWakeChannelRequest) -> bool
fn eq(&self, other: &ManagerProxyWakeChannelRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ResourceTypeMarker for ManagerProxyWakeChannelRequest
impl ResourceTypeMarker for ManagerProxyWakeChannelRequest
Source§type Borrowed<'a> = &'a mut ManagerProxyWakeChannelRequest
type Borrowed<'a> = &'a mut ManagerProxyWakeChannelRequest
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 ManagerProxyWakeChannelRequest
impl TypeMarker for ManagerProxyWakeChannelRequest
Source§type Owned = ManagerProxyWakeChannelRequest
type Owned = ManagerProxyWakeChannelRequest
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 ManagerProxyWakeChannelRequest
impl StructuralPartialEq for ManagerProxyWakeChannelRequest
Auto Trait Implementations§
impl Freeze for ManagerProxyWakeChannelRequest
impl RefUnwindSafe for ManagerProxyWakeChannelRequest
impl Send for ManagerProxyWakeChannelRequest
impl Sync for ManagerProxyWakeChannelRequest
impl Unpin for ManagerProxyWakeChannelRequest
impl UnwindSafe for ManagerProxyWakeChannelRequest
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