#[non_exhaustive]pub enum MemberInsertError {
NumberConflict,
NameConflict,
MissingOneof,
}Expand description
Error modifying a type.
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.
NumberConflict
A field with the same number already exists.
NameConflict
A field with the same name already exists.
MissingOneof
A field refers to a oneof that does not exist.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemberInsertError
impl RefUnwindSafe for MemberInsertError
impl Send for MemberInsertError
impl Sync for MemberInsertError
impl Unpin for MemberInsertError
impl UnsafeUnpin for MemberInsertError
impl UnwindSafe for MemberInsertError
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