pub enum SuspendError {
Permanent(Vec<PermanentSuspendError>),
Temporary(Vec<TemporarySuspendError>),
}Expand description
Whether a pipeline supports checkpointing and suspend-and-resume.
JSON schema
{
"description": "Whether a pipeline supports checkpointing and suspend-and-resume.",
"oneOf": [
{
"type": "object",
"required": [
"Permanent"
],
"properties": {
"Permanent": {
"description": "Pipeline does not support suspend-and-resume.\n\nThese reasons only change if the pipeline's configuration changes, e.g.\nif a pipeline has an input connector that does not support\nsuspend-and-resume, and then that input connector is removed.",
"type": "array",
"items": {
"$ref": "#/components/schemas/PermanentSuspendError"
}
}
}
},
{
"type": "object",
"required": [
"Temporary"
],
"properties": {
"Temporary": {
"description": "Pipeline supports suspend-and-resume, but a suspend requested now will\nbe delayed.",
"type": "array",
"items": {
"$ref": "#/components/schemas/TemporarySuspendError"
}
}
}
}
]
}Variants§
Permanent(Vec<PermanentSuspendError>)
Temporary(Vec<TemporarySuspendError>)
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 From<&SuspendError> for SuspendError
impl From<&SuspendError> for SuspendError
Source§fn from(value: &SuspendError) -> Self
fn from(value: &SuspendError) -> Self
Converts to this type from the input type.
Source§impl From<Vec<PermanentSuspendError>> for SuspendError
impl From<Vec<PermanentSuspendError>> for SuspendError
Source§fn from(value: Vec<PermanentSuspendError>) -> Self
fn from(value: Vec<PermanentSuspendError>) -> Self
Converts to this type from the input type.
Source§impl From<Vec<TemporarySuspendError>> for SuspendError
impl From<Vec<TemporarySuspendError>> for SuspendError
Source§fn from(value: Vec<TemporarySuspendError>) -> Self
fn from(value: Vec<TemporarySuspendError>) -> Self
Converts to this type from the input type.
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