pub enum GroveError {
Show 14 variants
ExtensionNotFound(String),
ActivationFailed(String),
DeactivationFailed(String),
TransportError(String),
WASMError(String),
APIError(String),
ConfigurationError(String),
IoError(Error),
SerializationError(String),
DeserializationError(String),
Timeout,
InvalidArgument(String),
NotImplemented(String),
Other(String),
}
Expand description
Grove error type
Variants§
ExtensionNotFound(String)
Extension not found
ActivationFailed(String)
Extension activation failed
DeactivationFailed(String)
Extension deactivation failed
TransportError(String)
Transport error
WASMError(String)
WASM runtime error
APIError(String)
API error
ConfigurationError(String)
Configuration error
IoError(Error)
I/O error
SerializationError(String)
Serialization error
DeserializationError(String)
Deserialization error
Timeout
Timeout error
InvalidArgument(String)
Invalid argument
NotImplemented(String)
Not implemented
Other(String)
Generic error
Trait Implementations§
Source§
impl
Debug
for
GroveError
impl Debug for GroveError
Source§
impl
Display
for
GroveError
impl Display for GroveError
Source§
impl
Error
for
GroveError
impl Error for GroveError
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()
Auto Trait Implementations§
impl Freeze for GroveError
impl !RefUnwindSafe for GroveError
impl Send for GroveError
impl Sync for GroveError
impl Unpin for GroveError
impl UnsafeUnpin for GroveError
impl !UnwindSafe for GroveError
Blanket Implementations§
Source§
impl<T>
BorrowMut<T> for T
where T: ?Sized,
impl<T>
BorrowMut<T> for T
where 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>
Source§
impl<T>
IntoEither
for T
impl<T> IntoEither for T
Source§
fn
into_either(self, into_left:
bool) ->
Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a
Left
variant of
Either<Self, Self>
if into_left is
true. Converts
self into a
Right
variant of
Either<Self, Self>
otherwise.
Read more
Source§
fn
into_either_with<F>(self, into_left: F)
->
Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a
Left
variant of
Either<Self, Self>
if
into_left(&self)
returns true. Converts
self into a
Right
variant of
Either<Self, Self>
otherwise.
Read more
Source§
impl<T>
IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§
fn
into_request(self) ->
Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in
a tonic::Request
§
impl<T> Pointable for T
impl<T> Pointable for T
§
impl<T> PolicyExt for T
where T: ?Sized,
impl<T> PolicyExt for T
where T: ?Sized,
§
impl<T> ToStringFallible for T
where T:
Display,
impl<T> ToStringFallible for T
where T:
Display,
§
fn
try_to_string(&self) ->
Result<String,
TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.