pub enum StreamFailureClass {
Unsupported,
ResourceLimit,
Source,
Decode,
Schema,
Cancelled,
Closed,
Internal,
}Expand description
Stable classes for stream terminal failures.
Variants§
Unsupported
Plan or source has no streaming implementation.
ResourceLimit
A configured resource bound was exceeded.
Source
The source could not be read.
Decode
Source content could not be decoded.
Schema
The source or result schema is invalid.
Cancelled
The caller cancelled execution.
Closed
The caller closed execution before normal completion.
Internal
An internal execution failure occurred.
Implementations§
Trait Implementations§
Source§impl Clone for StreamFailureClass
impl Clone for StreamFailureClass
Source§fn clone(&self) -> StreamFailureClass
fn clone(&self) -> StreamFailureClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamFailureClass
Source§impl Debug for StreamFailureClass
impl Debug for StreamFailureClass
impl Eq for StreamFailureClass
Source§impl PartialEq for StreamFailureClass
impl PartialEq for StreamFailureClass
impl StructuralPartialEq for StreamFailureClass
Auto Trait Implementations§
impl Freeze for StreamFailureClass
impl RefUnwindSafe for StreamFailureClass
impl Send for StreamFailureClass
impl Sync for StreamFailureClass
impl Unpin for StreamFailureClass
impl UnsafeUnpin for StreamFailureClass
impl UnwindSafe for StreamFailureClass
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.