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§impl Debug for ResourceOut
impl Debug for ResourceOut
Source§impl Default for ResourceOut
impl Default for ResourceOut
impl Eq for ResourceOut
Source§impl PartialEq for ResourceOut
impl PartialEq for ResourceOut
impl StructuralPartialEq for ResourceOut
Auto Trait Implementations§
impl Forget for ResourceOut
impl Freeze for ResourceOutwhere
*const u8 is !null: Freeze,
PhantomData<Vec<u8>>: Freeze,
PhantomData<Notification>: Freeze,
PhantomData<ResourceId>: Freeze,
impl Move for ResourceOut
impl RefUnwindSafe for ResourceOut
impl Send for ResourceOutwhere
RawVecInner: Send,
impl Sync for ResourceOutwhere
RawVecInner: Sync,
impl Unpin for ResourceOut
impl UnsafeUnpin for ResourceOutwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Vec<u8>>: UnsafeUnpin,
PhantomData<Notification>: UnsafeUnpin,
PhantomData<ResourceId>: UnsafeUnpin,
impl UnwindSafe for ResourceOutwhere
RawVecInner: UnwindSafe,
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