pub enum SemanticAssemblyError {
Cancelled,
Deadline,
SourceLimit,
OutputLimit,
Malformed(String),
Storage(HeddleError),
}Expand description
Failures while assembling semantic nodes. Callers can map these to their own transport status without inspecting error text.
Variants§
Trait Implementations§
Source§impl Debug for SemanticAssemblyError
impl Debug for SemanticAssemblyError
Source§impl Display for SemanticAssemblyError
impl Display for SemanticAssemblyError
Source§impl Error for SemanticAssemblyError
impl Error for SemanticAssemblyError
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<HeddleError> for SemanticAssemblyError
impl From<HeddleError> for SemanticAssemblyError
Source§fn from(source: HeddleError) -> Self
fn from(source: HeddleError) -> Self
Converts to this type from the input type.
Source§impl From<SemanticAssemblyError> for HeddleError
impl From<SemanticAssemblyError> for HeddleError
Source§fn from(error: SemanticAssemblyError) -> Self
fn from(error: SemanticAssemblyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SemanticAssemblyError
impl !UnwindSafe for SemanticAssemblyError
impl Freeze for SemanticAssemblyError
impl Send for SemanticAssemblyError
impl Sync for SemanticAssemblyError
impl Unpin for SemanticAssemblyError
impl UnsafeUnpin for SemanticAssemblyError
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