#[non_exhaustive]pub enum UnsupportedForm {
ArgumentCount,
KeywordArguments,
ArgumentTypes,
MissingTypeContext,
}Expand description
Unsupported source shape for a known standard-library rule.
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.
ArgumentCount
The call used an unsupported argument count.
KeywordArguments
The call used keyword/named arguments that are not modeled yet.
ArgumentTypes
The call used unsupported argument types.
MissingTypeContext
The call omitted required type context.
Trait Implementations§
Source§impl Clone for UnsupportedForm
impl Clone for UnsupportedForm
impl Copy for UnsupportedForm
Source§impl Debug for UnsupportedForm
impl Debug for UnsupportedForm
impl Eq for UnsupportedForm
Source§impl PartialEq for UnsupportedForm
impl PartialEq for UnsupportedForm
impl StructuralPartialEq for UnsupportedForm
Auto Trait Implementations§
impl Freeze for UnsupportedForm
impl RefUnwindSafe for UnsupportedForm
impl Send for UnsupportedForm
impl Sync for UnsupportedForm
impl Unpin for UnsupportedForm
impl UnsafeUnpin for UnsupportedForm
impl UnwindSafe for UnsupportedForm
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