pub enum SourceProviderError {
Contract(SourceContractError),
TemporarilyUnavailable,
AuthenticationRefused,
SourceIdentityChanged,
AmbiguousPosition(SourcePartitionId),
RetentionExpired {
partition_id: SourcePartitionId,
requested: SourceCursorV1,
earliest_available: SourceCursorV1,
},
}Variants§
Contract(SourceContractError)
AuthenticationRefused
SourceIdentityChanged
AmbiguousPosition(SourcePartitionId)
RetentionExpired
Trait Implementations§
Source§impl Clone for SourceProviderError
impl Clone for SourceProviderError
Source§impl Debug for SourceProviderError
impl Debug for SourceProviderError
Source§impl Display for SourceProviderError
impl Display for SourceProviderError
impl Eq for SourceProviderError
Source§impl Error for SourceProviderError
impl Error for SourceProviderError
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<SourceContractError> for SourceProviderError
impl From<SourceContractError> for SourceProviderError
Source§fn from(error: SourceContractError) -> Self
fn from(error: SourceContractError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SourceProviderError
impl PartialEq for SourceProviderError
impl StructuralPartialEq for SourceProviderError
Auto Trait Implementations§
impl Freeze for SourceProviderError
impl RefUnwindSafe for SourceProviderError
impl Send for SourceProviderError
impl Sync for SourceProviderError
impl Unpin for SourceProviderError
impl UnsafeUnpin for SourceProviderError
impl UnwindSafe for SourceProviderError
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