pub enum VerifierRequest {
Verify {
options: VerifyOptions,
responder: VerifierVerifyResponder,
},
}
Expand description
An abstract representation of an update verifier, to be used when verifying if an update should be committed.
This is unrelated to the verification in verified execution.
Variants§
Verify
Verifies the update we just applied does not compromise an OTA dependency.
If the verification fails, the [Verifier
] should log the reason why.
The caller is responsible for setting any timeouts.
- request
options
the configuration to use when verifying.
- error a value describing the cause of verification failure.
Implementations§
Source§impl VerifierRequest
impl VerifierRequest
pub fn into_verify(self) -> Option<(VerifyOptions, VerifierVerifyResponder)>
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 VerifierRequest
impl !RefUnwindSafe for VerifierRequest
impl Send for VerifierRequest
impl Sync for VerifierRequest
impl Unpin for VerifierRequest
impl !UnwindSafe for VerifierRequest
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