pub struct StaticResponder {
pub reply: String,
}Expand description
Always returns a pre-canned reply. Useful for tests / golden runs.
Fields§
§reply: StringThe reply returned for every question.
Implementations§
Trait Implementations§
Source§impl HumanResponder for StaticResponder
impl HumanResponder for StaticResponder
Auto Trait Implementations§
impl Freeze for StaticResponder
impl RefUnwindSafe for StaticResponder
impl Send for StaticResponder
impl Sync for StaticResponder
impl Unpin for StaticResponder
impl UnsafeUnpin for StaticResponder
impl UnwindSafe for StaticResponder
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