pub enum InspectPuppetRequest {
Initialize {
params: InitializationParams,
responder: InspectPuppetInitializeResponder,
},
GetConfig {
responder: InspectPuppetGetConfigResponder,
},
Publish {
responder: InspectPuppetPublishResponder,
},
Act {
action: Action,
responder: InspectPuppetActResponder,
},
}
Variants§
Initialize
Initializes the Inspect library being tested by the puppet.
GetConfig
Provides configuration values for the validator.
Fields
§
responder: InspectPuppetGetConfigResponder
Publish
Instruct the puppet to publish its current data over InspectSink.
Note: It is an error for more than one Validate connection to Publish at once. Unpublish must be called to cleanup.
Fields
§
responder: InspectPuppetPublishResponder
Act
Modifies the contents of the VMO.
Implementations§
Source§impl InspectPuppetRequest
impl InspectPuppetRequest
pub fn into_initialize( self, ) -> Option<(InitializationParams, InspectPuppetInitializeResponder)>
pub fn into_get_config(self) -> Option<InspectPuppetGetConfigResponder>
pub fn into_publish(self) -> Option<InspectPuppetPublishResponder>
pub fn into_act(self) -> Option<(Action, InspectPuppetActResponder)>
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 InspectPuppetRequest
impl !RefUnwindSafe for InspectPuppetRequest
impl Send for InspectPuppetRequest
impl Sync for InspectPuppetRequest
impl Unpin for InspectPuppetRequest
impl !UnwindSafe for InspectPuppetRequest
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