Enum grafana_plugin_sdk::backend::Error [−][src]
#[non_exhaustive]
pub enum Error {
ConvertFrom(ConvertFromError),
ConvertTo(ConvertToError),
Serve(Error),
}
Expand description
Errors returned by plugin backends.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConvertFrom(ConvertFromError)
Tuple Fields
An error occurred converting data from Grafana.
ConvertTo(ConvertToError)
Tuple Fields
An error occurred converting data to Grafana.
Serve(Error)
Tuple Fields
0: Error
An error occurred while starting the plugin.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more