pub struct Realm;
Expand description
The type corresponding to the Realm protocol. A protocol used by a component instance to manage its own realm, such as for binding to its children.
Requests to this protocol are processed in the order they are received. Clients that wish to send requests in parallel should open multiple connections.
The component framework provides this service to components that use
fuchsia.component.Realm
.
Trait Implementations§
Source§impl ClientCompatFrom<RealmProxy> for Realm
impl ClientCompatFrom<RealmProxy> for Realm
Source§fn client_compat_from(proxy: RealmProxy) -> ClientDispatcher<Self, Channel>
fn client_compat_from(proxy: RealmProxy) -> ClientDispatcher<Self, Channel>
Converts
proxy
into a Client
for this protocol.Source§impl CompatFrom<Realm> for RealmMarker
impl CompatFrom<Realm> for RealmMarker
Source§fn compat_from(_: Realm) -> Self
fn compat_from(_: Realm) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<RealmMarker> for Realm
impl CompatFrom<RealmMarker> for Realm
Source§fn compat_from(_: RealmMarker) -> Self
fn compat_from(_: RealmMarker) -> Self
Converts
value
into a value of this type.Source§impl Discoverable for Realm
impl Discoverable for Realm
Source§const PROTOCOL_NAME: &'static str = "fuchsia.component.Realm"
const PROTOCOL_NAME: &'static str = "fuchsia.component.Realm"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Realmwhere
___H: RealmClientHandler<___T> + Send,
___T: Transport,
<OpenController as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<OpenExposedDir as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<CreateChild as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<DestroyChild as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<ListChildren as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<GetResolvedInfo as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<GetChildOutputDictionary as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Realmwhere
___H: RealmClientHandler<___T> + Send,
___T: Transport,
<OpenController as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<OpenExposedDir as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<CreateChild as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<DestroyChild as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<ListChildren as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<GetResolvedInfo as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
<GetChildOutputDictionary as Method>::Response: Decode<<___T as Transport>::RecvBuffer>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Realmwhere
___H: RealmServerHandler<___T> + Send,
___T: Transport,
<OpenController as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<OpenExposedDir as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<CreateChild as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<DestroyChild as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<ListChildren as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<GetChildOutputDictionary as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Realmwhere
___H: RealmServerHandler<___T> + Send,
___T: Transport,
<OpenController as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<OpenExposedDir as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<CreateChild as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<DestroyChild as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<ListChildren as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
<GetChildOutputDictionary as Method>::Request: Decode<<___T as Transport>::RecvBuffer>,
impl StructuralPartialEq for Realm
Auto Trait Implementations§
impl Freeze for Realm
impl RefUnwindSafe for Realm
impl Send for Realm
impl Sync for Realm
impl Unpin for Realm
impl UnwindSafe for Realm
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T
to [Self
]