Trait SetUri

Source
pub trait SetUri {
    // Required methods
    fn set_uri(&mut self, uri: Uri);
    fn set_uri_path(&mut self, path: &str) -> Result<(), Error>;
}
Expand description

Set Uri.

Required Methods§

Source

fn set_uri(&mut self, uri: Uri)

Set Uri.

Source

fn set_uri_path(&mut self, path: &str) -> Result<(), Error>

Set Uri path.

Implementations on Foreign Types§

Source§

impl<BodyT> SetUri for Request<BodyT>

Source§

fn set_uri(&mut self, uri: Uri)

Source§

fn set_uri_path(&mut self, path: &str) -> Result<(), Error>

Implementors§