pub enum ContextProviderRequest {
Create {
params: CreateContextParams,
context: ServerEnd<ContextMarker>,
control_handle: ContextProviderControlHandle,
},
}
Expand description
The top-level service interface which allows for the creation of Context resources.
Variants§
Create
Creates a new browser [Context
] whose state is wholly independent and isolated from other
Context
.
params
: The configuration used to create the [Context
].context
: An interface request which will receive a bound [Context
] service.
Fields
§
params: CreateContextParams
§
context: ServerEnd<ContextMarker>
§
control_handle: ContextProviderControlHandle
Implementations§
Source§impl ContextProviderRequest
impl ContextProviderRequest
pub fn into_create( self, ) -> Option<(CreateContextParams, ServerEnd<ContextMarker>, ContextProviderControlHandle)>
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 ContextProviderRequest
impl !RefUnwindSafe for ContextProviderRequest
impl Send for ContextProviderRequest
impl Sync for ContextProviderRequest
impl Unpin for ContextProviderRequest
impl !UnwindSafe for ContextProviderRequest
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