#[non_exhaustive]pub enum GpError {
Any(String),
Unknown(String),
}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.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for GpError
impl Freeze for GpError
impl Move for GpError
impl RefUnwindSafe for GpError
impl Send for GpError
impl Sync for GpError
impl Unpin for GpError
impl UnsafeUnpin for GpError
impl UnwindSafe for GpError
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