pub enum Error {
PluginInvoke(PluginInvokeError),
}Variants§
PluginInvoke(PluginInvokeError)
Trait Implementations§
source§impl Error for Error
impl Error for Error
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<PluginInvokeError> for Error
impl From<PluginInvokeError> for Error
source§fn from(source: PluginInvokeError) -> Self
fn from(source: PluginInvokeError) -> Self
Converts to this type from the input type.
source§impl NamedType for Error
impl NamedType for Error
fn sid() -> SpectaID
source§fn named_data_type(
type_map: &mut TypeMap,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeMap, generics: &[DataType], ) -> NamedDataType
this is equivalent to Type::inline but returns a NamedDataType instead.
source§fn definition_named_data_type(type_map: &mut TypeMap) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeMap) -> NamedDataType
this is equivalent to [Type::definition] but returns a NamedDataType instead.
source§impl Type for Error
impl Type for Error
source§fn inline(type_map: &mut TypeMap, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeMap, generics: Generics<'_>) -> DataType
Returns the definition of a type using the provided generics. Read more
source§fn reference(type_map: &mut TypeMap, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeMap, generics: &[DataType]) -> Reference
Generates a datatype corresponding to a reference to this type,
as determined by its category. Getting a reference to a type implies that
it should belong in the type map (since it has to be referenced from somewhere),
so the output of
definition will be put into the type map.impl Flatten for Error
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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