pub enum PuppetFactoryRequest {
Create {
payload: PuppetCreationArgs,
responder: PuppetFactoryCreateResponder,
},
}
Expand description
A helper to spawn a puppet instance, which will own a view created with a specific token.
Variants§
Create
Spawns a puppet instance, which will own a view created using view_token
, and
binds puppet_server
to it.
Implementations§
Source§impl PuppetFactoryRequest
impl PuppetFactoryRequest
pub fn into_create( self, ) -> Option<(PuppetCreationArgs, PuppetFactoryCreateResponder)>
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 PuppetFactoryRequest
impl !RefUnwindSafe for PuppetFactoryRequest
impl Send for PuppetFactoryRequest
impl Sync for PuppetFactoryRequest
impl Unpin for PuppetFactoryRequest
impl !UnwindSafe for PuppetFactoryRequest
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