pub struct DeltaSharingError { /* private fields */ }Expand description
Error type for Delta Sharing.
Implementations§
Source§impl DeltaSharingError
impl DeltaSharingError
Sourcepub fn kind(&self) -> DeltaSharingErrorKind
pub fn kind(&self) -> DeltaSharingErrorKind
Retrieve the kind of the error
Sourcepub fn client(message: impl Into<String>) -> Self
pub fn client(message: impl Into<String>) -> Self
Create a new sharing client error with a message
Sourcepub fn server(message: impl Into<String>) -> Self
pub fn server(message: impl Into<String>) -> Self
Create a new sharing server error with a message
Sourcepub fn parse_response(message: impl Into<String>) -> Self
pub fn parse_response(message: impl Into<String>) -> Self
Create a new parse response error with a message
Sourcepub fn parse_securable(message: impl Into<String>) -> Self
pub fn parse_securable(message: impl Into<String>) -> Self
Create a new parse securable error with a message
Trait Implementations§
Source§impl Clone for DeltaSharingError
impl Clone for DeltaSharingError
Source§fn clone(&self) -> DeltaSharingError
fn clone(&self) -> DeltaSharingError
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 DeltaSharingError
impl Debug for DeltaSharingError
Source§impl Display for DeltaSharingError
impl Display for DeltaSharingError
Source§impl Error for DeltaSharingError
impl Error for DeltaSharingError
1.30.0 · 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()
Source§impl From<ArrowError> for DeltaSharingError
impl From<ArrowError> for DeltaSharingError
Source§fn from(value: ArrowError) -> Self
fn from(value: ArrowError) -> Self
Converts to this type from the input type.
Source§impl From<DeltaSharingError> for DataFusionError
impl From<DeltaSharingError> for DataFusionError
Source§fn from(e: DeltaSharingError) -> Self
fn from(e: DeltaSharingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeltaSharingError
impl RefUnwindSafe for DeltaSharingError
impl Send for DeltaSharingError
impl Sync for DeltaSharingError
impl Unpin for DeltaSharingError
impl UnwindSafe for DeltaSharingError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§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