Enum scratchstack_aspen::Action
source · [−]Variants
Any
Specific
Implementations
sourceimpl Action
impl Action
pub fn new<S: Into<String>, A: Into<String>>(
service: S,
action: A
) -> Result<Self, AspenError>
pub fn is_any(&self) -> bool
pub fn is_specific(&self) -> bool
pub fn service(&self) -> &str
pub fn action(&self) -> &str
pub fn matches(&self, service: &str, action: &str) -> bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more