Skip to main content

IntoOrigin

Trait 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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoOrigin for &str

Implementors§