pub struct Applet0<'a> {
pub kind: AppletKind,
pub metadata: Metadata0<'a>,
pub data: Cow<'a, [u8]>,
}Available on crate feature
host only.Expand description
Applet install (and update).
Fields§
§kind: AppletKindThe applet kind.
This is redundant with the applet data at this time (pulley and wasm), but provided for convenience.
metadata: Metadata0<'a>The applet metadata.
The CLI or Web UI will suffix this metadata to the applet data in the format supported by the device.
data: Cow<'a, [u8]>The applet data.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Applet0<'a>
impl<'a> RefUnwindSafe for Applet0<'a>
impl<'a> Send for Applet0<'a>
impl<'a> Sync for Applet0<'a>
impl<'a> Unpin for Applet0<'a>
impl<'a> UnsafeUnpin for Applet0<'a>
impl<'a> UnwindSafe for Applet0<'a>
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