pub enum EncapsulationBoundaryError<Location, LabelError> {
MissingExpected(char),
Mismatch {
location: Location,
expected: char,
found: char,
},
LabelError {
location: Location,
error: LabelError,
},
}Variants§
Trait Implementations§
Source§impl<Location: Debug, LabelError: Debug> Debug for EncapsulationBoundaryError<Location, LabelError>
impl<Location: Debug, LabelError: Debug> Debug for EncapsulationBoundaryError<Location, LabelError>
Source§impl<Location: PartialEq, LabelError: PartialEq> PartialEq for EncapsulationBoundaryError<Location, LabelError>
impl<Location: PartialEq, LabelError: PartialEq> PartialEq for EncapsulationBoundaryError<Location, LabelError>
Source§fn eq(&self, other: &EncapsulationBoundaryError<Location, LabelError>) -> bool
fn eq(&self, other: &EncapsulationBoundaryError<Location, LabelError>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<Location, LabelError> StructuralPartialEq for EncapsulationBoundaryError<Location, LabelError>
Auto Trait Implementations§
impl<Location, LabelError> Freeze for EncapsulationBoundaryError<Location, LabelError>
impl<Location, LabelError> RefUnwindSafe for EncapsulationBoundaryError<Location, LabelError>where
Location: RefUnwindSafe,
LabelError: RefUnwindSafe,
impl<Location, LabelError> Send for EncapsulationBoundaryError<Location, LabelError>
impl<Location, LabelError> Sync for EncapsulationBoundaryError<Location, LabelError>
impl<Location, LabelError> Unpin for EncapsulationBoundaryError<Location, LabelError>
impl<Location, LabelError> UnwindSafe for EncapsulationBoundaryError<Location, LabelError>where
Location: UnwindSafe,
LabelError: UnwindSafe,
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