pub enum FrameHostRequest {
CreateFrameWithParams {
params: CreateFrameParams,
frame: ServerEnd<FrameMarker>,
control_handle: FrameHostControlHandle,
},
}
Expand description
Used by [Context
] clients to delegate [Frame
] hosting capabilities to selected peers.
Variants§
CreateFrameWithParams
Behaves identically to [Context.CreateFrameWithParams
].
Fields
§
params: CreateFrameParams
§
frame: ServerEnd<FrameMarker>
§
control_handle: FrameHostControlHandle
Implementations§
source§impl FrameHostRequest
impl FrameHostRequest
pub fn into_create_frame_with_params( self, ) -> Option<(CreateFrameParams, ServerEnd<FrameMarker>, FrameHostControlHandle)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameHostRequest
impl !RefUnwindSafe for FrameHostRequest
impl Send for FrameHostRequest
impl Sync for FrameHostRequest
impl Unpin for FrameHostRequest
impl !UnwindSafe for FrameHostRequest
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