#[repr(u8)]pub enum UpdateErrorCode {
Unknown = 0,
PermissionDenied = 3,
InvalidUpdate = 4,
PayloadTooLarge = 5,
RateLimited = 6,
FragmentTimeout = 7,
AppError = 127,
}Expand description
Error codes for UpdateError (0x06).
Variants§
Unknown = 0
PermissionDenied = 3
InvalidUpdate = 4
PayloadTooLarge = 5
RateLimited = 6
FragmentTimeout = 7
AppError = 127
Implementations§
Trait Implementations§
Source§impl Clone for UpdateErrorCode
impl Clone for UpdateErrorCode
Source§fn clone(&self) -> UpdateErrorCode
fn clone(&self) -> UpdateErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateErrorCode
impl Debug for UpdateErrorCode
Source§impl PartialEq for UpdateErrorCode
impl PartialEq for UpdateErrorCode
impl Copy for UpdateErrorCode
impl Eq for UpdateErrorCode
impl StructuralPartialEq for UpdateErrorCode
Auto Trait Implementations§
impl Freeze for UpdateErrorCode
impl RefUnwindSafe for UpdateErrorCode
impl Send for UpdateErrorCode
impl Sync for UpdateErrorCode
impl Unpin for UpdateErrorCode
impl UnwindSafe for UpdateErrorCode
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