#[repr(u8)]pub enum Action {
Show 14 variants
Unknown = 0,
All = 1,
Any = 2,
Pub = 3,
Sub = 4,
Create = 5,
Update = 6,
Delete = 7,
Get = 8,
List = 9,
Publish = 10,
Subscribe = 11,
Describe = 12,
Manage = 13,
}Expand description
Security-relevant operation requested on a resource.
Values 0..=9 preserve the RocketMQ ACL wire codes. The semantic
Publish, Subscribe, Describe, and Manage variants are policy-level
operations and intentionally have distinct codes.
Variants§
Unknown = 0
Represents the unknown case.
All = 1
Represents the all case.
Any = 2
Represents the any case.
Pub = 3
Represents the pub case.
Sub = 4
Represents the sub case.
Create = 5
Represents the create case.
Update = 6
Represents the update case.
Delete = 7
Represents the delete case.
Get = 8
Represents the get case.
List = 9
Represents the list case.
Publish = 10
Represents the publish case.
Subscribe = 11
Represents the subscribe case.
Describe = 12
Represents the describe case.
Manage = 13
Represents the manage case.
Implementations§
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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