pub struct TpmPolicyDuplicationSelectResponse {
pub handles: [TpmHandle; 0],
}Fields§
§handles: [TpmHandle; 0]Implementations§
Source§impl TpmPolicyDuplicationSelectResponse
impl TpmPolicyDuplicationSelectResponse
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 TpmPolicyDuplicationSelectResponse
impl Clone for TpmPolicyDuplicationSelectResponse
Source§fn clone(&self) -> TpmPolicyDuplicationSelectResponse
fn clone(&self) -> TpmPolicyDuplicationSelectResponse
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 TpmPolicyDuplicationSelectResponse
Source§impl Default for TpmPolicyDuplicationSelectResponse
impl Default for TpmPolicyDuplicationSelectResponse
Source§fn default() -> TpmPolicyDuplicationSelectResponse
fn default() -> TpmPolicyDuplicationSelectResponse
Returns the “default value” for a type. Read more
impl Eq for TpmPolicyDuplicationSelectResponse
impl StructuralPartialEq for TpmPolicyDuplicationSelectResponse
Source§impl TpmSized for TpmPolicyDuplicationSelectResponse
impl TpmSized for TpmPolicyDuplicationSelectResponse
Source§impl TryFrom<TpmResponseValue> for TpmPolicyDuplicationSelectResponse
impl TryFrom<TpmResponseValue> for TpmPolicyDuplicationSelectResponse
Source§type Error = TpmResponseValue
type Error = TpmResponseValue
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for TpmPolicyDuplicationSelectResponse
impl RefUnwindSafe for TpmPolicyDuplicationSelectResponse
impl Send for TpmPolicyDuplicationSelectResponse
impl Sync for TpmPolicyDuplicationSelectResponse
impl Unpin for TpmPolicyDuplicationSelectResponse
impl UnsafeUnpin for TpmPolicyDuplicationSelectResponse
impl UnwindSafe for TpmPolicyDuplicationSelectResponse
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