pub struct ServiceSubscriber2SubscribeToServiceRequest {
pub service: String,
pub options: ServiceSubscriptionOptions,
pub listener: ClientEnd<ServiceSubscriptionListenerMarker>,
}
Fields§
§service: String
§options: ServiceSubscriptionOptions
§listener: ClientEnd<ServiceSubscriptionListenerMarker>
Trait Implementations§
Source§impl Decode<ServiceSubscriber2SubscribeToServiceRequest, DefaultFuchsiaResourceDialect> for ServiceSubscriber2SubscribeToServiceRequest
impl Decode<ServiceSubscriber2SubscribeToServiceRequest, DefaultFuchsiaResourceDialect> for ServiceSubscriber2SubscribeToServiceRequest
Source§impl Encode<ServiceSubscriber2SubscribeToServiceRequest, DefaultFuchsiaResourceDialect> for &mut ServiceSubscriber2SubscribeToServiceRequest
impl Encode<ServiceSubscriber2SubscribeToServiceRequest, DefaultFuchsiaResourceDialect> for &mut ServiceSubscriber2SubscribeToServiceRequest
Source§impl<T0: Encode<BoundedString<22>, DefaultFuchsiaResourceDialect>, T1: Encode<ServiceSubscriptionOptions, DefaultFuchsiaResourceDialect>, T2: Encode<Endpoint<ClientEnd<ServiceSubscriptionListenerMarker>>, DefaultFuchsiaResourceDialect>> Encode<ServiceSubscriber2SubscribeToServiceRequest, DefaultFuchsiaResourceDialect> for (T0, T1, T2)
impl<T0: Encode<BoundedString<22>, DefaultFuchsiaResourceDialect>, T1: Encode<ServiceSubscriptionOptions, DefaultFuchsiaResourceDialect>, T2: Encode<Endpoint<ClientEnd<ServiceSubscriptionListenerMarker>>, DefaultFuchsiaResourceDialect>> Encode<ServiceSubscriber2SubscribeToServiceRequest, DefaultFuchsiaResourceDialect> for (T0, T1, T2)
Source§impl PartialEq for ServiceSubscriber2SubscribeToServiceRequest
impl PartialEq for ServiceSubscriber2SubscribeToServiceRequest
Source§fn eq(&self, other: &ServiceSubscriber2SubscribeToServiceRequest) -> bool
fn eq(&self, other: &ServiceSubscriber2SubscribeToServiceRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ResourceTypeMarker for ServiceSubscriber2SubscribeToServiceRequest
impl ResourceTypeMarker for ServiceSubscriber2SubscribeToServiceRequest
Source§type Borrowed<'a> = &'a mut ServiceSubscriber2SubscribeToServiceRequest
type Borrowed<'a> = &'a mut ServiceSubscriber2SubscribeToServiceRequest
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 ServiceSubscriber2SubscribeToServiceRequest
impl TypeMarker for ServiceSubscriber2SubscribeToServiceRequest
Source§type Owned = ServiceSubscriber2SubscribeToServiceRequest
type Owned = ServiceSubscriber2SubscribeToServiceRequest
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 ServiceSubscriber2SubscribeToServiceRequest
impl StructuralPartialEq for ServiceSubscriber2SubscribeToServiceRequest
Auto Trait Implementations§
impl Freeze for ServiceSubscriber2SubscribeToServiceRequest
impl RefUnwindSafe for ServiceSubscriber2SubscribeToServiceRequest
impl Send for ServiceSubscriber2SubscribeToServiceRequest
impl Sync for ServiceSubscriber2SubscribeToServiceRequest
impl Unpin for ServiceSubscriber2SubscribeToServiceRequest
impl UnwindSafe for ServiceSubscriber2SubscribeToServiceRequest
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