pub struct CommsReply {
pub reply_id: CommsReplyId,
pub return_value: u8,
}Expand description
comms_reply() object (Table 54): id + signed return_value.
Fields§
§reply_id: CommsReplyIdcomms_reply_id.
return_value: u8return_value — positive/zero = OK, negative = error (carried as raw u8).
Trait Implementations§
Source§impl ApduDef<'_> for CommsReply
impl ApduDef<'_> for CommsReply
Source§impl Clone for CommsReply
impl Clone for CommsReply
Source§fn clone(&self) -> CommsReply
fn clone(&self) -> CommsReply
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 CommsReply
Source§impl Debug for CommsReply
impl Debug for CommsReply
impl Eq for CommsReply
Source§impl<'a> From<CommsReply> for AnyApdu<'a>
impl<'a> From<CommsReply> for AnyApdu<'a>
Source§fn from(v: CommsReply) -> Self
fn from(v: CommsReply) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for CommsReply
impl<'a> Parse<'a> for CommsReply
Source§impl PartialEq for CommsReply
impl PartialEq for CommsReply
Source§impl Serialize for CommsReply
impl Serialize for CommsReply
Source§impl Serialize for CommsReply
impl Serialize for CommsReply
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for CommsReply
Auto Trait Implementations§
impl Freeze for CommsReply
impl RefUnwindSafe for CommsReply
impl Send for CommsReply
impl Sync for CommsReply
impl Unpin for CommsReply
impl UnsafeUnpin for CommsReply
impl UnwindSafe for CommsReply
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