Enum ella_server::Error
source · pub enum Error {
Show 24 variants
Engine(EngineError),
Shape(ShapeError),
Server(ServerError),
Client(ClientError),
DataType(DataType),
AxisOutOfBounds(isize, usize),
EmptyList,
ColumnLookup(String),
Cast {
to: TensorType,
from: TensorType,
},
UnknownExtension(String),
MissingMetadata(String),
Serialization(Box<dyn Error + Send + Sync, Global>),
ColumnCount(usize, usize),
IncompatibleRow(Arc<Field, Global>),
TopicNotFound(String),
Unimplemented(String),
DataFusion(DataFusionError),
Io(Error),
Arrow(ArrowError),
Parquet(ParquetError),
ObjectStore(Error),
Url(ParseError),
Flight(FlightError),
Transport(Error),
}Variants§
Engine(EngineError)
Shape(ShapeError)
Server(ServerError)
Client(ClientError)
DataType(DataType)
AxisOutOfBounds(isize, usize)
EmptyList
ColumnLookup(String)
Cast
UnknownExtension(String)
MissingMetadata(String)
Serialization(Box<dyn Error + Send + Sync, Global>)
ColumnCount(usize, usize)
IncompatibleRow(Arc<Field, Global>)
TopicNotFound(String)
Unimplemented(String)
DataFusion(DataFusionError)
Io(Error)
Arrow(ArrowError)
Parquet(ParquetError)
ObjectStore(Error)
Url(ParseError)
Flight(FlightError)
Transport(Error)
Implementations§
source§impl Error
impl Error
pub fn cast(to: TensorType, from: TensorType) -> Error
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)>
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<ClientError> for Error
impl From<ClientError> for Error
source§fn from(source: ClientError) -> Error
fn from(source: ClientError) -> Error
Converts to this type from the input type.
source§impl From<DecodeError> for Error
impl From<DecodeError> for Error
source§fn from(value: DecodeError) -> Error
fn from(value: DecodeError) -> Error
Converts to this type from the input type.
source§impl From<EngineError> for Error
impl From<EngineError> for Error
source§fn from(source: EngineError) -> Error
fn from(source: EngineError) -> Error
Converts to this type from the input type.
source§impl From<FlightError> for Error
impl From<FlightError> for Error
source§fn from(source: FlightError) -> Error
fn from(source: FlightError) -> Error
Converts to this type from the input type.
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(source: ParseError) -> Error
fn from(source: ParseError) -> Error
Converts to this type from the input type.
source§impl From<ServerError> for Error
impl From<ServerError> for Error
source§fn from(source: ServerError) -> Error
fn from(source: ServerError) -> Error
Converts to this type from the input type.
source§impl From<ShapeError> for Error
impl From<ShapeError> for Error
source§fn from(source: ShapeError) -> Error
fn from(source: ShapeError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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