Enum bolic_network::hub::DriverError
source · pub enum DriverError {
Worker(WorkerError),
TokioUnavailable,
InvalidWorkerID,
}Variants§
Worker(WorkerError)
The code is not in a tokio runtime environment.
InvalidWorkerID
Invalid worker id.
Trait Implementations§
source§impl Debug for DriverError
impl Debug for DriverError
source§impl From<DriverError> for HubError
impl From<DriverError> for HubError
source§fn from(err: DriverError) -> Self
fn from(err: DriverError) -> Self
Converts to this type from the input type.
source§impl From<WorkerError> for DriverError
impl From<WorkerError> for DriverError
source§fn from(err: WorkerError) -> Self
fn from(err: WorkerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DriverError
impl !RefUnwindSafe for DriverError
impl Send for DriverError
impl Sync for DriverError
impl Unpin for DriverError
impl !UnwindSafe for DriverError
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