pub enum SuspendError {
Permanent(Vec<PermanentSuspendError>),
Temporary(Vec<TemporarySuspendError>),
}Expand description
Whether a pipeline supports checkpointing and suspend-and-resume.
Variants§
Permanent(Vec<PermanentSuspendError>)
Pipeline does not support suspend-and-resume.
These reasons only change if the pipeline’s configuration changes, e.g. if a pipeline has an input connector that does not support suspend-and-resume, and then that input connector is removed.
Tuple Fields
§
0: Vec<PermanentSuspendError>Reasons why the pipeline does not support suspend-and-resume.
Temporary(Vec<TemporarySuspendError>)
Pipeline supports suspend-and-resume, but a suspend requested now will be delayed.
Tuple Fields
§
0: Vec<TemporarySuspendError>Reasons that the suspend will be delayed.
Trait Implementations§
Source§impl Clone for SuspendError
impl Clone for SuspendError
Source§fn clone(&self) -> SuspendError
fn clone(&self) -> SuspendError
Returns a duplicate 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 SuspendError
impl Debug for SuspendError
Source§impl<'de> Deserialize<'de> for SuspendError
impl<'de> Deserialize<'de> for SuspendError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SuspendError
impl Display for SuspendError
Source§impl PartialEq for SuspendError
impl PartialEq for SuspendError
Source§impl Serialize for SuspendError
impl Serialize for SuspendError
Source§impl<'__s> ToSchema<'__s> for SuspendError
impl<'__s> ToSchema<'__s> for SuspendError
impl Eq for SuspendError
impl StructuralPartialEq for SuspendError
Auto Trait Implementations§
impl Freeze for SuspendError
impl RefUnwindSafe for SuspendError
impl Send for SuspendError
impl Sync for SuspendError
impl Unpin for SuspendError
impl UnwindSafe for SuspendError
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.