pub enum KeyKind {
Global,
FeePayer,
InstrAccount,
Attested,
}Expand description
How a rule derives its bucket key.
Variants§
Global
One bucket shared by every caller.
FeePayer
The transaction fee payer.
InstrAccount
The account named by the u16 account index at key_offset in the
forwarded instruction.
Attested
A 32-byte key supplied by the caller; requires the policy attester.
Trait Implementations§
impl Copy for KeyKind
impl Eq for KeyKind
impl StructuralPartialEq for KeyKind
Auto Trait Implementations§
impl Freeze for KeyKind
impl RefUnwindSafe for KeyKind
impl Send for KeyKind
impl Sync for KeyKind
impl Unpin for KeyKind
impl UnsafeUnpin for KeyKind
impl UnwindSafe for KeyKind
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