Struct sodg::ConstRelay
source · pub struct ConstRelay { /* private fields */ }
Expand description
A Relay
that always returns the same String
.
Implementations§
source§impl ConstRelay
impl ConstRelay
sourcepub fn new(s: &str) -> Self
pub fn new(s: &str) -> Self
Make a new ConstRelay
, with a string inside.