#[repr(u8)]pub enum PeStatus {
Ok = 0,
NotFound = 1,
FormatError = 2,
VersionMismatch = 3,
}Expand description
PE reply status codes (HTTP-inspired).
Variants§
Ok = 0
200 OK — request succeeded.
NotFound = 1
404 Not Found — resource (preset index) does not exist.
FormatError = 2
422 Unprocessable — body could not be deserialized.
VersionMismatch = 3
409 Conflict — flash format version mismatch, re-upload required.
Implementations§
Trait Implementations§
impl Copy for PeStatus
impl Eq for PeStatus
impl StructuralPartialEq for PeStatus
Auto Trait Implementations§
impl Freeze for PeStatus
impl RefUnwindSafe for PeStatus
impl Send for PeStatus
impl Sync for PeStatus
impl Unpin for PeStatus
impl UnsafeUnpin for PeStatus
impl UnwindSafe for PeStatus
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