pub enum GateReject {
Forbidden(String),
Conflict(String),
PreconditionFailed(String),
Internal(String),
}Expand description
Structured rejection reason returned by RefUpdateGate.
Variants§
Implementations§
Source§impl GateReject
impl GateReject
Trait Implementations§
Source§impl Clone for GateReject
impl Clone for GateReject
Source§impl Debug for GateReject
impl Debug for GateReject
Source§impl Display for GateReject
impl Display for GateReject
impl Eq for GateReject
Source§impl Error for GateReject
impl Error for GateReject
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 GateReject
impl PartialEq for GateReject
impl StructuralPartialEq for GateReject
Auto Trait Implementations§
impl Forget for GateReject
impl Freeze for GateReject
impl Move for GateReject
impl RefUnwindSafe for GateReject
impl Send for GateRejectwhere
RawVecInner: Send,
impl Sync for GateRejectwhere
RawVecInner: Sync,
impl Unpin for GateReject
impl UnsafeUnpin for GateReject
impl UnwindSafe for GateRejectwhere
RawVecInner: UnwindSafe,
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