#[non_exhaustive]#[repr(u32)]pub enum BocState {
Invalid = 0,
ReqDone = 1,
PrepStream = 2,
Stream = 3,
Finished = 4,
Failed = 5,
}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.
Trait Implementations§
impl Copy for BocState
impl Eq for BocState
impl StructuralPartialEq for BocState
Auto Trait Implementations§
impl Freeze for BocState
impl RefUnwindSafe for BocState
impl Send for BocState
impl Sync for BocState
impl Unpin for BocState
impl UnwindSafe for BocState
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