pub enum DistributedError {
Show 18 variants
FlightRpc(String),
WorkerConnection(String),
WorkerTaskFailure(String),
Coordinator(String),
Partitioning(String),
Shuffle(String),
TaskSerialization(String),
Timeout(String),
Authentication(String),
ResourceAllocation(String),
Aggregation(String),
Arrow(String),
Core(OxiGdalError),
Io(Error),
Json(Error),
Transport(Error),
Status(Status),
Custom(String),
}Expand description
Errors that can occur during distributed processing.
Variants§
FlightRpc(String)
Error during Flight RPC communication.
WorkerConnection(String)
Error connecting to a worker node.
WorkerTaskFailure(String)
Worker failed to complete a task.
Coordinator(String)
Coordinator error.
Partitioning(String)
Data partitioning error.
Shuffle(String)
Data shuffle error.
TaskSerialization(String)
Task serialization/deserialization error.
Timeout(String)
Network timeout error.
Authentication(String)
Authentication error.
ResourceAllocation(String)
Resource allocation error.
Aggregation(String)
Result aggregation error.
Arrow(String)
Arrow error during data transfer.
Core(OxiGdalError)
Core OxiGDAL error.
Io(Error)
I/O error.
Json(Error)
JSON serialization error.
Transport(Error)
Tonic transport error.
Status(Status)
Tonic status error.
Custom(String)
Generic error with custom message.
Implementations§
Source§impl DistributedError
impl DistributedError
Sourcepub fn flight_rpc<S: Into<String>>(msg: S) -> Self
pub fn flight_rpc<S: Into<String>>(msg: S) -> Self
Create a Flight RPC error.
Sourcepub fn worker_connection<S: Into<String>>(msg: S) -> Self
pub fn worker_connection<S: Into<String>>(msg: S) -> Self
Create a worker connection error.
Sourcepub fn worker_task_failure<S: Into<String>>(msg: S) -> Self
pub fn worker_task_failure<S: Into<String>>(msg: S) -> Self
Create a worker task failure error.
Sourcepub fn coordinator<S: Into<String>>(msg: S) -> Self
pub fn coordinator<S: Into<String>>(msg: S) -> Self
Create a coordinator error.
Sourcepub fn partitioning<S: Into<String>>(msg: S) -> Self
pub fn partitioning<S: Into<String>>(msg: S) -> Self
Create a partitioning error.
Sourcepub fn task_serialization<S: Into<String>>(msg: S) -> Self
pub fn task_serialization<S: Into<String>>(msg: S) -> Self
Create a task serialization error.
Sourcepub fn authentication<S: Into<String>>(msg: S) -> Self
pub fn authentication<S: Into<String>>(msg: S) -> Self
Create an authentication error.
Sourcepub fn resource_allocation<S: Into<String>>(msg: S) -> Self
pub fn resource_allocation<S: Into<String>>(msg: S) -> Self
Create a resource allocation error.
Sourcepub fn aggregation<S: Into<String>>(msg: S) -> Self
pub fn aggregation<S: Into<String>>(msg: S) -> Self
Create an aggregation error.
Trait Implementations§
Source§impl Debug for DistributedError
impl Debug for DistributedError
Source§impl Display for DistributedError
impl Display for DistributedError
Source§impl Error for DistributedError
impl Error for DistributedError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ArrowError> for DistributedError
impl From<ArrowError> for DistributedError
Source§fn from(err: ArrowError) -> Self
fn from(err: ArrowError) -> Self
Source§impl From<DistributedError> for Status
impl From<DistributedError> for Status
Source§fn from(err: DistributedError) -> Self
fn from(err: DistributedError) -> Self
Source§impl From<Error> for DistributedError
impl From<Error> for DistributedError
Source§impl From<Error> for DistributedError
impl From<Error> for DistributedError
Source§impl From<Error> for DistributedError
impl From<Error> for DistributedError
Source§impl From<OxiGdalError> for DistributedError
impl From<OxiGdalError> for DistributedError
Source§fn from(source: OxiGdalError) -> Self
fn from(source: OxiGdalError) -> Self
Auto Trait Implementations§
impl Freeze for DistributedError
impl !RefUnwindSafe for DistributedError
impl Send for DistributedError
impl Sync for DistributedError
impl Unpin for DistributedError
impl UnsafeUnpin for DistributedError
impl !UnwindSafe for DistributedError
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
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>
T in a tonic::Request