Enum notify_rust::ActionResponse
source · pub enum ActionResponse<'a> {
Custom(&'a str),
Closed(CloseReason),
}
Expand description
Response to an action
Variants§
Custom(&'a str)
Custom Action configured by the Notification.
Closed(CloseReason)
The Notification was closed.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ActionResponse<'a>
impl<'a> RefUnwindSafe for ActionResponse<'a>
impl<'a> Send for ActionResponse<'a>
impl<'a> Sync for ActionResponse<'a>
impl<'a> Unpin for ActionResponse<'a>
impl<'a> UnwindSafe for ActionResponse<'a>
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