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<___T, ___H> ClientProtocol<___T, ___H> for Realmwhere
___T: Transport,
___H: RealmClientHandler<___T>,
<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>,
impl<___T, ___H> ClientProtocol<___T, ___H> for Realmwhere
___T: Transport,
___H: RealmClientHandler<___T>,
<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>,
Source§impl Discoverable for Realm
impl Discoverable for Realm
Source§const PROTOCOL_NAME: &'static str = "realm"
const PROTOCOL_NAME: &'static str = "realm"
The service name to use to connect to this discoverable protocol.
Source§impl<___T, ___H> ServerProtocol<___T, ___H> for Realmwhere
___T: Transport,
___H: RealmServerHandler<___T>,
WireRealmOpenControllerRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmOpenExposedDirRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmCreateChildRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmDestroyChildRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmListChildrenRequest: Decode<<___T as Transport>::RecvBuffer>,
impl<___T, ___H> ServerProtocol<___T, ___H> for Realmwhere
___T: Transport,
___H: RealmServerHandler<___T>,
WireRealmOpenControllerRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmOpenExposedDirRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmCreateChildRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmDestroyChildRequest: Decode<<___T as Transport>::RecvBuffer>,
WireRealmListChildrenRequest: Decode<<___T as Transport>::RecvBuffer>,
Source§fn on_one_way(
handler: &mut ___H,
sender: &ServerSender<___T, Self>,
ordinal: u64,
buffer: ___T::RecvBuffer,
)
fn on_one_way( handler: &mut ___H, sender: &ServerSender<___T, Self>, ordinal: u64, buffer: ___T::RecvBuffer, )
Handles a received server one-way message with the given handler.
Source§fn on_two_way(
handler: &mut ___H,
sender: &ServerSender<___T, Self>,
ordinal: u64,
buffer: ___T::RecvBuffer,
responder: Responder,
)
fn on_two_way( handler: &mut ___H, sender: &ServerSender<___T, Self>, ordinal: u64, buffer: ___T::RecvBuffer, responder: Responder, )
Handles a received server two-way message with the given handler.
Source§impl TakeFrom<Realm> for RealmMarker
impl TakeFrom<Realm> for RealmMarker
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