pub enum RealmRequest {
Create {
responder: RealmCreateResponder,
},
}
Expand description
Used to create a test realm for suspend. Keep the connection open to keep the realm alive.
Variants§
Create
Creates a test realm. Returns on successful creation. User must wait until this call returns to connect to any protocols in the realm.
Fields
§
responder: RealmCreateResponder
Implementations§
Source§impl RealmRequest
impl RealmRequest
pub fn into_create(self) -> Option<RealmCreateResponder>
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 RealmRequest
impl !RefUnwindSafe for RealmRequest
impl Send for RealmRequest
impl Sync for RealmRequest
impl Unpin for RealmRequest
impl !UnwindSafe for RealmRequest
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