pub enum Response {
Immediate,
Delayed,
Error,
}
Expand description
Configure the response of serve_fake_wake_alarms.
Variants§
Immediate
Respond immediately, without waiting.
Delayed
Delay a response, sometimes controlled by additional values.
Error
Respond with an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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