pub struct TpmSetPrimaryPolicyResponse {
pub handles: [TpmHandle; 0],
}Fields§
§handles: [TpmHandle; 0]Implementations§
Source§impl TpmSetPrimaryPolicyResponse
impl TpmSetPrimaryPolicyResponse
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmResponse>
Casts a response frame into a typed wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmResponse>
Casts a mutable response frame into a typed mutable wire view for this response.
§Errors
Returns Err(TpmError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmSetPrimaryPolicyResponse
impl Clone for TpmSetPrimaryPolicyResponse
impl Copy for TpmSetPrimaryPolicyResponse
Source§impl Debug for TpmSetPrimaryPolicyResponse
impl Debug for TpmSetPrimaryPolicyResponse
impl Eq for TpmSetPrimaryPolicyResponse
impl StructuralPartialEq for TpmSetPrimaryPolicyResponse
Source§impl TpmSized for TpmSetPrimaryPolicyResponse
impl TpmSized for TpmSetPrimaryPolicyResponse
Source§impl TryFrom<TpmResponseValue> for TpmSetPrimaryPolicyResponse
impl TryFrom<TpmResponseValue> for TpmSetPrimaryPolicyResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmSetPrimaryPolicyResponse
impl RefUnwindSafe for TpmSetPrimaryPolicyResponse
impl Send for TpmSetPrimaryPolicyResponse
impl Sync for TpmSetPrimaryPolicyResponse
impl Unpin for TpmSetPrimaryPolicyResponse
impl UnsafeUnpin for TpmSetPrimaryPolicyResponse
impl UnwindSafe for TpmSetPrimaryPolicyResponse
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