pub struct MissingClosingBrace {
pub position: usize,
}
Expand description
The input string contains an unclosed variable placeholder.
Fields§
§position: usize
The byte offset within the input where the error occurs.
This points to the {
character that is missing a closing brace.
Trait Implementations§
Source§impl Clone for MissingClosingBrace
impl Clone for MissingClosingBrace
Source§fn clone(&self) -> MissingClosingBrace
fn clone(&self) -> MissingClosingBrace
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 Debug for MissingClosingBrace
impl Debug for MissingClosingBrace
Source§impl Display for MissingClosingBrace
impl Display for MissingClosingBrace
Source§impl Error for MissingClosingBrace
impl Error for MissingClosingBrace
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<MissingClosingBrace> for Error
impl From<MissingClosingBrace> for Error
Source§fn from(other: MissingClosingBrace) -> Self
fn from(other: MissingClosingBrace) -> Self
Converts to this type from the input type.
Source§impl From<MissingClosingBrace> for ParseError
impl From<MissingClosingBrace> for ParseError
Source§fn from(other: MissingClosingBrace) -> Self
fn from(other: MissingClosingBrace) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MissingClosingBrace
impl RefUnwindSafe for MissingClosingBrace
impl Send for MissingClosingBrace
impl Sync for MissingClosingBrace
impl Unpin for MissingClosingBrace
impl UnwindSafe for MissingClosingBrace
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