#[non_exhaustive]pub enum AckCode {
Ok,
WrongApi,
ApiBusy,
DomainSpecificApiBusy(u8),
Reserved(u8),
}Expand description
AckCode — response to a RequestStart (Table 64).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok
0x01 — OK: the execution environment will load and run the initial object.
WrongApi
0x02 — Wrong API: application domain not supported.
ApiBusy
0x03 — API busy: domain supported but not currently available.
DomainSpecificApiBusy(u8)
0x80-0xFF — Domain-specific API busy.
Reserved(u8)
0x00 and 0x04-0x7F — reserved for future use.
Implementations§
Trait Implementations§
impl Copy for AckCode
impl Eq for AckCode
impl StructuralPartialEq for AckCode
Auto Trait Implementations§
impl Freeze for AckCode
impl RefUnwindSafe for AckCode
impl Send for AckCode
impl Sync for AckCode
impl Unpin for AckCode
impl UnsafeUnpin for AckCode
impl UnwindSafe for AckCode
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