pub enum TriggerOperationError {
Conflict {
subscription_key: String,
existing_revision: Option<u64>,
existing_definition_hash: Option<String>,
requested_definition_hash: Option<String>,
reason: String,
},
Invalid {
message: String,
},
Store {
message: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for TriggerOperationError
impl Clone for TriggerOperationError
Source§fn clone(&self) -> TriggerOperationError
fn clone(&self) -> TriggerOperationError
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 moreSource§impl Debug for TriggerOperationError
impl Debug for TriggerOperationError
Source§impl<'de> Deserialize<'de> for TriggerOperationError
impl<'de> Deserialize<'de> for TriggerOperationError
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 TriggerOperationError
impl Display for TriggerOperationError
impl Eq for TriggerOperationError
Source§impl Error for TriggerOperationError
impl Error for TriggerOperationError
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<PluginError> for TriggerOperationError
impl From<PluginError> for TriggerOperationError
Source§fn from(value: PluginError) -> Self
fn from(value: PluginError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TriggerOperationError
impl PartialEq for TriggerOperationError
Source§impl Serialize for TriggerOperationError
impl Serialize for TriggerOperationError
impl StructuralPartialEq for TriggerOperationError
Auto Trait Implementations§
impl Freeze for TriggerOperationError
impl RefUnwindSafe for TriggerOperationError
impl Send for TriggerOperationError
impl Sync for TriggerOperationError
impl Unpin for TriggerOperationError
impl UnsafeUnpin for TriggerOperationError
impl UnwindSafe for TriggerOperationError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.