#[non_exhaustive]pub enum DownloadReplyId {
DownloadOk,
NotAnObjectDataSegment,
MemoryExhausted,
Reserved(u8),
}Expand description
download_reply_id values (Table 45, p. 45).
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.
DownloadOk
00 — Download OK.
NotAnObjectDataSegment
01 — Not an object data segment (object_id should be 0xFFFF).
MemoryExhausted
02 — Memory exhausted.
Reserved(u8)
Any other value (reserved).
Implementations§
Trait Implementations§
Source§impl Clone for DownloadReplyId
impl Clone for DownloadReplyId
Source§fn clone(&self) -> DownloadReplyId
fn clone(&self) -> DownloadReplyId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DownloadReplyId
Source§impl Debug for DownloadReplyId
impl Debug for DownloadReplyId
Source§impl Display for DownloadReplyId
impl Display for DownloadReplyId
impl Eq for DownloadReplyId
Source§impl PartialEq for DownloadReplyId
impl PartialEq for DownloadReplyId
Source§impl Serialize for DownloadReplyId
impl Serialize for DownloadReplyId
impl StructuralPartialEq for DownloadReplyId
Auto Trait Implementations§
impl Freeze for DownloadReplyId
impl RefUnwindSafe for DownloadReplyId
impl Send for DownloadReplyId
impl Sync for DownloadReplyId
impl Unpin for DownloadReplyId
impl UnsafeUnpin for DownloadReplyId
impl UnwindSafe for DownloadReplyId
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