pub enum ValidateRequest {
Initialize {
params: InitializationParams,
responder: ValidateInitializeResponder,
},
InitializeTree {
params: InitializationParams,
responder: ValidateInitializeTreeResponder,
},
Publish {
responder: ValidatePublishResponder,
},
Unpublish {
responder: ValidateUnpublishResponder,
},
Act {
action: Action,
responder: ValidateActResponder,
},
ActLazy {
lazy_action: LazyAction,
responder: ValidateActLazyResponder,
},
}
Variants§
Initialize
Initializes the Inspect library being tested by the puppet.
InitializeTree
Use instead of Initialize
on puppets which support the Tree / Lazy method of getting VMOs.
The root VMO can be obtained via the returned Tree protocol.
Publish
Fields
§
responder: ValidatePublishResponder
Instruct the puppet to expose its current data in its out/diagnostics directory.
Note: It is an error for more than one Validate connection to Publish at once. Unpublish must be called to cleanup.
Unpublish
Fields
§
responder: ValidateUnpublishResponder
Instruct the puppet to unpublish any data it currently has present in out/diagnostics.
Act
Modifies the contents of the VMO.
ActLazy
Modifies the contents of a lazy node.
Implementations§
source§impl ValidateRequest
impl ValidateRequest
pub fn into_initialize( self ) -> Option<(InitializationParams, ValidateInitializeResponder)>
pub fn into_initialize_tree( self ) -> Option<(InitializationParams, ValidateInitializeTreeResponder)>
pub fn into_publish(self) -> Option<ValidatePublishResponder>
pub fn into_unpublish(self) -> Option<ValidateUnpublishResponder>
pub fn into_act(self) -> Option<(Action, ValidateActResponder)>
pub fn into_act_lazy(self) -> Option<(LazyAction, ValidateActLazyResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL