pub struct ResourceOut {
pub apdus: Vec<Vec<u8>>,
pub notify: Vec<Notification>,
pub open: Vec<ResourceId>,
}Expand description
What a resource wants done after reacting to an input.
Fields§
§apdus: Vec<Vec<u8>>APDUs to send on this resource’s session.
notify: Vec<Notification>Host-facing notifications.
open: Vec<ResourceId>Module-provided resources the host should now open (create_session).
Trait Implementations§
Source§impl Clone for ResourceOut
impl Clone for ResourceOut
Source§fn clone(&self) -> ResourceOut
fn clone(&self) -> ResourceOut
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 ResourceOut
impl Debug for ResourceOut
Source§impl Default for ResourceOut
impl Default for ResourceOut
Source§fn default() -> ResourceOut
fn default() -> ResourceOut
Returns the “default value” for a type. Read more
impl Eq for ResourceOut
Source§impl PartialEq for ResourceOut
impl PartialEq for ResourceOut
Source§fn eq(&self, other: &ResourceOut) -> bool
fn eq(&self, other: &ResourceOut) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceOut
Auto Trait Implementations§
impl Freeze for ResourceOut
impl RefUnwindSafe for ResourceOut
impl Send for ResourceOut
impl Sync for ResourceOut
impl Unpin for ResourceOut
impl UnsafeUnpin for ResourceOut
impl UnwindSafe for ResourceOut
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