pub enum ProvisionRequest {
IsOwned {
responder: ProvisionIsOwnedResponder,
},
TakeOwnership {
payload: ProvisionTakeOwnershipRequest,
responder: ProvisionTakeOwnershipResponder,
},
}
Expand description
The fuchsia.tpm.Provision interface is intended to check if the TPM has an owner and to take ownership of the TPM if it isn’t owned.
Variants§
IsOwned
Returns the OwnershipStatus of the TPM.
Fields
§
responder: ProvisionIsOwnedResponder
TakeOwnership
TakeOwnership is a one time setup call that is required on operating system install or after a factory reset.
Implementations§
Source§impl ProvisionRequest
impl ProvisionRequest
pub fn into_is_owned(self) -> Option<ProvisionIsOwnedResponder>
pub fn into_take_ownership( self, ) -> Option<(ProvisionTakeOwnershipRequest, ProvisionTakeOwnershipResponder)>
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 ProvisionRequest
impl !RefUnwindSafe for ProvisionRequest
impl Send for ProvisionRequest
impl Sync for ProvisionRequest
impl Unpin for ProvisionRequest
impl !UnwindSafe for ProvisionRequest
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