pub struct StaticSchemeError {
pub location: LexerInfo,
pub proc_name: EnvProcs,
pub msg: String,
}
Fields§
§location: LexerInfo
§proc_name: EnvProcs
§msg: String
Implementations§
Source§impl StaticSchemeError
impl StaticSchemeError
pub fn new(location: LexerInfo, proc_name: EnvProcs, msg: String) -> Self
pub fn new_text(msg: String) -> Self
pub fn new_nodes_reader(nnr: &NodesReader<'_>, msg: String) -> Self
pub fn new_ser_partial(err: SerializationErrorPartial) -> Self
pub fn new_ser( li: LexerInfo, proc_name: EnvProcs, err: SerializationErrorPartial, ) -> Self
pub fn new_lexer(err: LexerError) -> Self
pub fn concat_error_msg(&mut self, msg: String)
pub fn set_location(&mut self, location: &LexerInfo)
Trait Implementations§
Source§impl Debug for StaticSchemeError
impl Debug for StaticSchemeError
Source§impl Display for StaticSchemeError
impl Display for StaticSchemeError
Source§impl From<SerializationErrorPartial> for StaticSchemeError
impl From<SerializationErrorPartial> for StaticSchemeError
Source§fn from(err: SerializationErrorPartial) -> StaticSchemeError
fn from(err: SerializationErrorPartial) -> StaticSchemeError
Converts to this type from the input type.
Source§impl From<StaticSchemeError> for SchemeError
impl From<StaticSchemeError> for SchemeError
Source§fn from(err: StaticSchemeError) -> SchemeError
fn from(err: StaticSchemeError) -> SchemeError
Converts to this type from the input type.
Source§impl From<StaticSchemeError> for SerializationError
impl From<StaticSchemeError> for SerializationError
Source§fn from(err: StaticSchemeError) -> SerializationError
fn from(err: StaticSchemeError) -> SerializationError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StaticSchemeError
impl RefUnwindSafe for StaticSchemeError
impl Send for StaticSchemeError
impl Sync for StaticSchemeError
impl Unpin for StaticSchemeError
impl UnwindSafe for StaticSchemeError
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