pub enum ExecuteError {
AssignReadOnlyVariable(AssignReadOnlyError),
UndoReadOnlyVariable(UndoReadOnlyError),
UndoReadOnlyFunction(UndoReadOnlyError),
ModifyUnsetFunction(Field),
PrintUnsetVariable(Field),
PrintUnsetFunction(Field),
}Expand description
Error that can occur during the execution of the typeset built-in
Variants§
AssignReadOnlyVariable(AssignReadOnlyError)
Assigning to a read-only variable
UndoReadOnlyVariable(UndoReadOnlyError)
Cancelling the read-only attribute of a variable
UndoReadOnlyFunction(UndoReadOnlyError)
Cancelling the read-only attribute of a function
ModifyUnsetFunction(Field)
Modifying a non-existing function
PrintUnsetVariable(Field)
Printing a non-existing variable
PrintUnsetFunction(Field)
Printing a non-existing function
Implementations§
Trait Implementations§
Source§impl Clone for ExecuteError
impl Clone for ExecuteError
Source§fn clone(&self) -> ExecuteError
fn clone(&self) -> ExecuteError
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 ExecuteError
impl Debug for ExecuteError
Source§impl Display for ExecuteError
impl Display for ExecuteError
Source§impl Error for ExecuteError
impl Error for ExecuteError
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<'a> From<&'a ExecuteError> for Report<'a>
impl<'a> From<&'a ExecuteError> for Report<'a>
Source§fn from(error: &'a ExecuteError) -> Self
fn from(error: &'a ExecuteError) -> Self
Converts to this type from the input type.
Source§impl From<AssignReadOnlyError> for ExecuteError
impl From<AssignReadOnlyError> for ExecuteError
Source§fn from(source: AssignReadOnlyError) -> Self
fn from(source: AssignReadOnlyError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecuteError
impl PartialEq for ExecuteError
impl Eq for ExecuteError
impl StructuralPartialEq for ExecuteError
Auto Trait Implementations§
impl Freeze for ExecuteError
impl !RefUnwindSafe for ExecuteError
impl !Send for ExecuteError
impl !Sync for ExecuteError
impl Unpin for ExecuteError
impl UnsafeUnpin for ExecuteError
impl !UnwindSafe for ExecuteError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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