pub struct TpmPolicyLocalityResponse {
pub handles: [TpmHandle; 0],
}Fields§
§handles: [TpmHandle; 0]Implementations§
Source§impl TpmPolicyLocalityResponse
impl TpmPolicyLocalityResponse
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(TpmProtocolError) 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(TpmProtocolError) when the frame envelope is malformed.
Trait Implementations§
Source§impl Clone for TpmPolicyLocalityResponse
impl Clone for TpmPolicyLocalityResponse
Source§fn clone(&self) -> TpmPolicyLocalityResponse
fn clone(&self) -> TpmPolicyLocalityResponse
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 moreSource§impl Debug for TpmPolicyLocalityResponse
impl Debug for TpmPolicyLocalityResponse
Source§impl Default for TpmPolicyLocalityResponse
impl Default for TpmPolicyLocalityResponse
Source§fn default() -> TpmPolicyLocalityResponse
fn default() -> TpmPolicyLocalityResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for TpmPolicyLocalityResponse
impl PartialEq for TpmPolicyLocalityResponse
Source§fn eq(&self, other: &TpmPolicyLocalityResponse) -> bool
fn eq(&self, other: &TpmPolicyLocalityResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmPolicyLocalityResponse
impl TpmFrame for TpmPolicyLocalityResponse
Source§impl TpmSized for TpmPolicyLocalityResponse
impl TpmSized for TpmPolicyLocalityResponse
impl Copy for TpmPolicyLocalityResponse
impl Eq for TpmPolicyLocalityResponse
impl StructuralPartialEq for TpmPolicyLocalityResponse
Auto Trait Implementations§
impl Freeze for TpmPolicyLocalityResponse
impl RefUnwindSafe for TpmPolicyLocalityResponse
impl Send for TpmPolicyLocalityResponse
impl Sync for TpmPolicyLocalityResponse
impl Unpin for TpmPolicyLocalityResponse
impl UnsafeUnpin for TpmPolicyLocalityResponse
impl UnwindSafe for TpmPolicyLocalityResponse
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