pub enum ScenicRealmFactoryRequest {
CreateRealm {
payload: ScenicRealmFactoryCreateRealmRequest,
responder: ScenicRealmFactoryCreateRealmResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: ScenicRealmFactoryControlHandle,
method_type: MethodType,
},
}
Expand description
ScenicRealmFactory creates test realm for Scenic related tests, and give the realm proxy to test suite so that test suite can access protocols in test realm. Only the protocols served by Scenic are available.
Variants§
CreateRealm
Fields
§
responder: ScenicRealmFactoryCreateRealmResponder
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: ScenicRealmFactoryControlHandle
§
method_type: MethodType
Implementations§
Source§impl ScenicRealmFactoryRequest
impl ScenicRealmFactoryRequest
pub fn into_create_realm( self, ) -> Option<(ScenicRealmFactoryCreateRealmRequest, ScenicRealmFactoryCreateRealmResponder)>
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 ScenicRealmFactoryRequest
impl !RefUnwindSafe for ScenicRealmFactoryRequest
impl Send for ScenicRealmFactoryRequest
impl Sync for ScenicRealmFactoryRequest
impl Unpin for ScenicRealmFactoryRequest
impl !UnwindSafe for ScenicRealmFactoryRequest
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