Struct shm_rs::static_scheme::error::StaticSchemeError
source · pub struct StaticSchemeError {
pub filename: Option<String>,
pub location: LexerInfo,
pub proc_name: Option<String>,
pub args: Option<String>,
pub msg: String,
}
Fields§
§filename: Option<String>
§location: LexerInfo
§proc_name: Option<String>
§args: Option<String>
§msg: String
Implementations§
source§impl StaticSchemeError
impl StaticSchemeError
pub fn new( filename: Option<String>, location: &LexerInfo, proc_name: Option<&str>, args: Option<String>, msg: String ) -> Self
pub fn new_ser_partial(err: SerializationErrorPartial) -> Self
pub fn new_lexer(err: LexerError) -> Self
pub fn concat_error_msg(&mut self, msg: String)
pub fn set_filename<F>(&mut self, filename: F)
pub fn set_location(&mut self, location: &LexerInfo)
pub fn set_proc_name(&mut self, proc_name: &str)
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 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