pub struct MemMapper;Expand description
Default mapper that produces Pattern<String, MemValue>.
Trait Implementations§
Source§impl TypeMapper for MemMapper
impl TypeMapper for MemMapper
Source§fn label(&self, s: &str) -> Result<String, String>
fn label(&self, s: &str) -> Result<String, String>
Convert a label string to the target label type.
Source§fn string_value(&self, s: &str) -> Result<MemValue, String>
fn string_value(&self, s: &str) -> Result<MemValue, String>
Convert a string literal to a value.
Auto Trait Implementations§
impl Freeze for MemMapper
impl RefUnwindSafe for MemMapper
impl Send for MemMapper
impl Sync for MemMapper
impl Unpin for MemMapper
impl UnsafeUnpin for MemMapper
impl UnwindSafe for MemMapper
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