pub fn put_data(&mut self, data: Value) -> Result<(), Error> {
        self.data_store = data;
        self.is_initialized = true;
        Ok(())
    }
// We do not check data_store size here because a request with a body
// bigger than the imposed limit will be stoped by micro_http before
// reaching here.
We do not check data_store size here because a request with a body
bigger than the imposed limit will be stoped by micro_http before
reaching here.
We do not check data_store size here because a request with a body bigger than the imposed limit will be stoped by micro_http before reaching here .
pub fn put_data(&mut self, data: Value) -> Result<(), Error> {
        self.data_store = data;
        self.is_initialized = true;
        Ok(())
    }
pub fn put_data ( & mut self , data : Value ) -> Result < ( ) , Error > { self . data_store = data ; self . is_initialized = true ; Ok ( ( ) ) }
We do not check data_store size here because a request with a body
bigger than the imposed limit will be stoped by micro_http before
reaching here.
We do not check data_store size here because a request with a body bigger than the imposed limit will be stoped by micro_http before reaching here .
&mut self
data
Value
&mut self
data
Value