#[non_exhaustive]pub enum SyntaxErrorOrAccessRuleViolation {
Other(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§
Source§impl Clone for SyntaxErrorOrAccessRuleViolation
impl Clone for SyntaxErrorOrAccessRuleViolation
Source§fn clone(&self) -> SyntaxErrorOrAccessRuleViolation
fn clone(&self) -> SyntaxErrorOrAccessRuleViolation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for SyntaxErrorOrAccessRuleViolation
impl PartialEq for SyntaxErrorOrAccessRuleViolation
Source§fn eq(&self, other: &SyntaxErrorOrAccessRuleViolation) -> bool
fn eq(&self, other: &SyntaxErrorOrAccessRuleViolation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SyntaxErrorOrAccessRuleViolation
impl StructuralPartialEq for SyntaxErrorOrAccessRuleViolation
Auto Trait Implementations§
impl Freeze for SyntaxErrorOrAccessRuleViolation
impl RefUnwindSafe for SyntaxErrorOrAccessRuleViolation
impl Send for SyntaxErrorOrAccessRuleViolation
impl Sync for SyntaxErrorOrAccessRuleViolation
impl Unpin for SyntaxErrorOrAccessRuleViolation
impl UnwindSafe for SyntaxErrorOrAccessRuleViolation
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