warp::filters::cors::internal

Trait IntoOrigin

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

Required Methods§

Implementations on Foreign Types§

source§

impl<'a> IntoOrigin for &'a str

Implementors§