pub enum ComponentError {
Initialization(String),
Execution(String),
CmpInput(String),
CmpOutput(String),
}
Expand description
Ошибки исполненителя компонентов
Variants§
Initialization(String)
Component initialization error
Execution(String)
Component execution error
CmpInput(String)
Component input error
CmpOutput(String)
Component output error
Trait Implementations§
Source§impl Debug for ComponentError
impl Debug for ComponentError
Source§impl Display for ComponentError
impl Display for ComponentError
Source§impl Error for ComponentError
impl Error for ComponentError
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<ComponentError> for Error
impl From<ComponentError> for Error
Source§fn from(source: ComponentError) -> Self
fn from(source: ComponentError) -> Self
Converts to this type from the input type.
Source§impl<TMessage> From<ComponentError> for Error<TMessage>
impl<TMessage> From<ComponentError> for Error<TMessage>
Source§fn from(source: ComponentError) -> Self
fn from(source: ComponentError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ComponentError
impl From<Error> for ComponentError
Source§impl From<Error> for ComponentError
impl From<Error> for ComponentError
Source§impl From<Error> for ComponentError
impl From<Error> for ComponentError
Auto Trait Implementations§
impl Freeze for ComponentError
impl RefUnwindSafe for ComponentError
impl Send for ComponentError
impl Sync for ComponentError
impl Unpin for ComponentError
impl UnwindSafe for ComponentError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Converts the given value to a [
SharedString
].