#[non_exhaustive]pub enum GateOperationError {
Cancelled,
ResolverFailed(String),
PublicationFailed(String),
}Expand description
A gate operation failure distinct from an ordinary Deny.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cancelled
The gate operation observed cancellation.
ResolverFailed(String)
The composition-owned resolver failed after publication.
PublicationFailed(String)
Publishing the composition-owned approval request failed.
Trait Implementations§
Source§impl Clone for GateOperationError
impl Clone for GateOperationError
Source§impl Debug for GateOperationError
impl Debug for GateOperationError
Source§impl Display for GateOperationError
impl Display for GateOperationError
impl Eq for GateOperationError
Source§impl Error for GateOperationError
impl Error for GateOperationError
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 PartialEq for GateOperationError
impl PartialEq for GateOperationError
impl StructuralPartialEq for GateOperationError
Auto Trait Implementations§
impl Freeze for GateOperationError
impl RefUnwindSafe for GateOperationError
impl Send for GateOperationError
impl Sync for GateOperationError
impl Unpin for GateOperationError
impl UnsafeUnpin for GateOperationError
impl UnwindSafe for GateOperationError
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