pub struct Get { /* private fields */ }
Expand description
Get the value of key.
If the key does not exist the special value nil is returned. An error is returned if the value stored at key is not a string, because GET only handles string values.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Get
impl RefUnwindSafe for Get
impl Send for Get
impl Sync for Get
impl Unpin for Get
impl UnwindSafe for Get
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