pub enum RefusalCommand {
AlterDatabase,
CreateDatabase,
DropDatabase,
AlterExtension,
DropExtension,
PrepareTransaction,
CommitPrepared,
RollbackPrepared,
AlterServer,
AlterUserMapping,
NonGoal(NonGoalCommand),
}Expand description
Stable, typed metadata for commands that parse normally and then fail clear.
Variants§
AlterDatabase
CreateDatabase
DropDatabase
AlterExtension
DropExtension
PrepareTransaction
CommitPrepared
RollbackPrepared
AlterServer
AlterUserMapping
NonGoal(NonGoalCommand)
Implementations§
Trait Implementations§
Source§impl Clone for RefusalCommand
impl Clone for RefusalCommand
Source§fn clone(&self) -> RefusalCommand
fn clone(&self) -> RefusalCommand
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 moreimpl Copy for RefusalCommand
Source§impl Debug for RefusalCommand
impl Debug for RefusalCommand
impl Eq for RefusalCommand
Source§impl PartialEq for RefusalCommand
impl PartialEq for RefusalCommand
impl StructuralPartialEq for RefusalCommand
Auto Trait Implementations§
impl Freeze for RefusalCommand
impl RefUnwindSafe for RefusalCommand
impl Send for RefusalCommand
impl Sync for RefusalCommand
impl Unpin for RefusalCommand
impl UnsafeUnpin for RefusalCommand
impl UnwindSafe for RefusalCommand
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