Trait static_web_server::cors::IntoOrigin

source ·
pub trait IntoOrigin {
    // Required method
    fn into_origin(self) -> Origin;
}
Expand description

Cast values into the origin header.

Required Methods§

source

fn into_origin(self) -> Origin

Cast actual value into an origin header.

Implementations on Foreign Types§

source§

impl<'a> IntoOrigin for &'a str

Implementors§