pub struct OtaBundleState { /* private fields */ }Expand description
In-memory pair holding the active OTA manifest and its executable .wasm bytes.
Implementations§
Source§impl OtaBundleState
impl OtaBundleState
pub fn get_manifest(&self) -> &OtaManifest
pub fn get_wasm_bytes(&self) -> &Vec<u8> ⓘ
Source§impl OtaBundleState
impl OtaBundleState
pub fn new(manifest: OtaManifest, wasm_bytes: Vec<u8>) -> Self
Trait Implementations§
Source§impl Clone for OtaBundleState
impl Clone for OtaBundleState
Source§impl Debug for OtaBundleState
impl Debug for OtaBundleState
impl Eq for OtaBundleState
Source§impl PartialEq for OtaBundleState
impl PartialEq for OtaBundleState
impl StructuralPartialEq for OtaBundleState
Auto Trait Implementations§
impl Forget for OtaBundleState
impl Freeze for OtaBundleState
impl Move for OtaBundleState
impl RefUnwindSafe for OtaBundleState
impl Send for OtaBundleStatewhere
RawVecInner: Send,
impl Sync for OtaBundleStatewhere
RawVecInner: Sync,
impl Unpin for OtaBundleState
impl UnsafeUnpin for OtaBundleStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for OtaBundleStatewhere
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.