Enum grafana_plugin_sdk::data::Error [−][src]
pub enum Error {
ArrowSerialization(Error),
DataTypeMismatch {
existing: DataType,
new: DataType,
field: String,
},
FieldLengthMismatch {
lengths: Vec<(String, usize)>,
},
UnsupportedArrowDataType(DataType),
}Expand description
Errors that can occur when interacting with the Grafana plugin SDK.
Variants
ArrowSerialization(Error)
An error has occurred when serializing to Arrow IPC format.
DataTypeMismatch
Fields
existing: DataTypeThe existing datatype of the field.
new: DataTypeThe datatype of the new data.
field: StringThe name of the field.
There is a datatype mismatch in a field.
This can happen when calling Field::set_values with an array whose datatype
does not match the existing array.
FieldLengthMismatch
Occurs when a frame had mismatched field lengths while checking.
UnsupportedArrowDataType(DataType)
Tuple Fields
0: DataTypeA field was created using an Arrow array with a datatype unsupported by Grafana.
Trait Implementations
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
