pub enum ExpandError {
MissingCompileTimeBinding(String, Span),
MissingBindingClosingBrace(Span),
BindingReferenceTypeOverrideParseError(LexError, Span),
}
Variants§
MissingCompileTimeBinding(String, Span)
MissingBindingClosingBrace(Span)
BindingReferenceTypeOverrideParseError(LexError, Span)
Trait Implementations§
Source§impl Debug for ExpandError
impl Debug for ExpandError
Source§impl Display for ExpandError
impl Display for ExpandError
Source§impl Error for ExpandError
impl Error for ExpandError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ExpandError> for Error
impl From<ExpandError> for Error
Source§fn from(source: ExpandError) -> Self
fn from(source: ExpandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExpandError
impl RefUnwindSafe for ExpandError
impl !Send for ExpandError
impl !Sync for ExpandError
impl Unpin for ExpandError
impl UnwindSafe for ExpandError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more