Enum tekton::errors::TektonError
source · pub enum TektonError {
Reason(String),
SwitchModes(bool),
}
Variants§
Reason(String)
An error with a custom message as a String
SwitchModes(bool)
An ‘error state’ that indicates the file needs to process with the multi_prefix
support
Trait Implementations§
source§impl Clone for TektonError
impl Clone for TektonError
source§fn clone(&self) -> TektonError
fn clone(&self) -> TektonError
Returns a copy 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 TektonError
impl Debug for TektonError
source§impl Display for TektonError
impl Display for TektonError
source§impl Error for TektonError
impl Error for TektonError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for TektonError
impl From<Error> for TektonError
source§impl PartialEq for TektonError
impl PartialEq for TektonError
source§fn eq(&self, other: &TektonError) -> bool
fn eq(&self, other: &TektonError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TektonError
impl StructuralEq for TektonError
impl StructuralPartialEq for TektonError
Auto Trait Implementations§
impl RefUnwindSafe for TektonError
impl Send for TektonError
impl Sync for TektonError
impl Unpin for TektonError
impl UnwindSafe for TektonError
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