pub struct YubabaActionHandler { /* private fields */ }Expand description
Translates a YubabaAction trigger into a yubaba RPC call.
Implementations§
Source§impl YubabaActionHandler
impl YubabaActionHandler
pub fn new(client: Box<dyn YubabaClient>) -> Self
Trait Implementations§
Source§impl TriggerHandler for YubabaActionHandler
impl TriggerHandler for YubabaActionHandler
fn handle(&self, ctx: &DispatchContext) -> Result<(), DispatchError>
Auto Trait Implementations§
impl !RefUnwindSafe for YubabaActionHandler
impl !UnwindSafe for YubabaActionHandler
impl Freeze for YubabaActionHandler
impl Send for YubabaActionHandler
impl Sync for YubabaActionHandler
impl Unpin for YubabaActionHandler
impl UnsafeUnpin for YubabaActionHandler
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