pub struct StopGuard { /* private fields */ }Expand description
RAII guard returned by stop_commands;
emits the resume token on drop, re-enabling workflow-command processing.
§Examples
{
let _g = actions_rs::log::stop_commands();
println!("::not-a-command:: this line is not interpreted");
} // command processing resumes hereTrait Implementations§
Auto Trait Implementations§
impl Freeze for StopGuard
impl RefUnwindSafe for StopGuard
impl Send for StopGuard
impl Sync for StopGuard
impl Unpin for StopGuard
impl UnsafeUnpin for StopGuard
impl UnwindSafe for StopGuard
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