pub struct ActionRegistry;Expand description
Registry of all known actions with their metadata.
Implementations§
Source§impl ActionRegistry
impl ActionRegistry
Sourcepub fn list_actions() -> &'static [ActionInfo]
pub fn list_actions() -> &'static [ActionInfo]
Return all registered actions with their descriptions.
Sourcepub fn list_by_prefix(prefix: WamiServicePrefix) -> Vec<&'static ActionInfo>
pub fn list_by_prefix(prefix: WamiServicePrefix) -> Vec<&'static ActionInfo>
List actions filtered by service prefix.
Sourcepub fn list_prefixes() -> &'static [WamiServicePrefix]
pub fn list_prefixes() -> &'static [WamiServicePrefix]
List all service prefixes.
Auto Trait Implementations§
impl Freeze for ActionRegistry
impl RefUnwindSafe for ActionRegistry
impl Send for ActionRegistry
impl Sync for ActionRegistry
impl Unpin for ActionRegistry
impl UnsafeUnpin for ActionRegistry
impl UnwindSafe for ActionRegistry
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