pub fn response_ok(mut self) -> Self {
        self.stack.expect_receive().times(1).returning(move |_, mut buffer: &mut [u8]| {
            let _ = buffer.write(b"+OK\r\n").unwrap();
            nb::Result::Ok(5)
        });
        self
    }
/// Prepares network stack to respond with OK
Prepares network stack to respond with OK
Prepares network stack to respond with OK
pub fn response_ok(mut self) -> Self {
        self.stack.expect_receive().times(1).returning(move |_, mut buffer: &mut [u8]| {
            let _ = buffer.write(b"+OK\r\n").unwrap();
            nb::Result::Ok(5)
        });
        self
    }
pub fn response_ok ( mut self ) -> Self { self . stack . expect_receive ( ) . times ( 1 ) . returning ( move | _ , mut buffer : & mut [ u8 ] | { let _ = buffer . write ( b" \r \n " ) . unwrap ( ) ; nb :: Result :: Ok ( 5 ) } ) ; self }
Prepares network stack to respond with OK
Prepares network stack to respond with OK
mut self
mut self