pub struct TpmPolicyOrResponse {
pub handles: [TpmHandle; 0],
}Fields§
§handles: [TpmHandle; 0]Implementations§
Source§impl TpmPolicyOrResponse
impl TpmPolicyOrResponse
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 TpmPolicyOrResponse
impl Clone for TpmPolicyOrResponse
Source§fn clone(&self) -> TpmPolicyOrResponse
fn clone(&self) -> TpmPolicyOrResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TpmPolicyOrResponse
Source§impl Debug for TpmPolicyOrResponse
impl Debug for TpmPolicyOrResponse
Source§impl Default for TpmPolicyOrResponse
impl Default for TpmPolicyOrResponse
Source§fn default() -> TpmPolicyOrResponse
fn default() -> TpmPolicyOrResponse
Returns the “default value” for a type. Read more
impl Eq for TpmPolicyOrResponse
Source§impl PartialEq for TpmPolicyOrResponse
impl PartialEq for TpmPolicyOrResponse
impl StructuralPartialEq for TpmPolicyOrResponse
Source§impl TpmFrame for TpmPolicyOrResponse
impl TpmFrame for TpmPolicyOrResponse
Source§impl TpmHeader for TpmPolicyOrResponse
impl TpmHeader for TpmPolicyOrResponse
Source§impl TpmMarshal for TpmPolicyOrResponse
impl TpmMarshal for TpmPolicyOrResponse
Source§impl TpmMarshalBody for TpmPolicyOrResponse
impl TpmMarshalBody for TpmPolicyOrResponse
Source§impl TpmSized for TpmPolicyOrResponse
impl TpmSized for TpmPolicyOrResponse
Source§impl TryFrom<TpmResponseValue> for TpmPolicyOrResponse
impl TryFrom<TpmResponseValue> for TpmPolicyOrResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmPolicyOrResponse
impl RefUnwindSafe for TpmPolicyOrResponse
impl Send for TpmPolicyOrResponse
impl Sync for TpmPolicyOrResponse
impl Unpin for TpmPolicyOrResponse
impl UnsafeUnpin for TpmPolicyOrResponse
impl UnwindSafe for TpmPolicyOrResponse
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