Enum delta_sharing_server::error::ServerError
source · pub enum ServerError {
Show 15 variants
InvalidPaginationParameters {
reason: String,
},
InvalidTableVersion,
InvalidTableDataPredicates,
InvalidTableChangePredicates,
InvalidTableStartingTimestamp,
InvalidTableVersionRange {
reason: String,
},
InvalidPaginationToken {
reason: String,
},
ShareNotFound {
name: String,
},
SchemaNotFound {
name: String,
},
TableNotFound {
name: String,
},
ShareManagerError {
reason: String,
},
TableReaderError {
reason: String,
},
UnsupportedTableFormat {
format: String,
},
UnsupportedTableStorage {
storage: String,
},
UnsupportedOperation {
reason: String,
},
}Variants§
InvalidPaginationParameters
InvalidTableVersion
InvalidTableDataPredicates
InvalidTableChangePredicates
InvalidTableStartingTimestamp
InvalidTableVersionRange
InvalidPaginationToken
SchemaNotFound
TableNotFound
TableReaderError
UnsupportedTableFormat
UnsupportedTableStorage
UnsupportedOperation
Implementations§
source§impl ServerError
impl ServerError
pub fn into_error_response(self) -> ErrorResponse
Trait Implementations§
source§impl Clone for ServerError
impl Clone for ServerError
source§fn clone(&self) -> ServerError
fn clone(&self) -> ServerError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ServerError
impl Debug for ServerError
source§fn from(value: ShareIoError) -> Self
fn from(value: ShareIoError) -> Self
Converts to this type from the input type.
source§impl From<TableReaderError> for ServerError
impl From<TableReaderError> for ServerError
source§fn from(value: TableReaderError) -> Self
fn from(value: TableReaderError) -> Self
Converts to this type from the input type.
source§impl IntoResponse for ServerError
impl IntoResponse for ServerError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
source§impl PartialEq<ServerError> for ServerError
impl PartialEq<ServerError> for ServerError
source§fn eq(&self, other: &ServerError) -> bool
fn eq(&self, other: &ServerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ServerError
Auto Trait Implementations§
impl RefUnwindSafe for ServerError
impl Send for ServerError
impl Sync for ServerError
impl Unpin for ServerError
impl UnwindSafe for ServerError
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