RayUrlInput

Trait RayUrlInput 

Source
pub trait RayUrlInput {
    // Required method
    fn try_into_ray_url(self) -> Result<RayUrl, RayError>;
}
Expand description

Accepted URL inputs for Ray link methods.

Supported inputs include RayUrl, Url, &str, and String.

Required Methods§

Source

fn try_into_ray_url(self) -> Result<RayUrl, RayError>

Convert the input into a validated RayUrl.

Implementations on Foreign Types§

Source§

impl RayUrlInput for &str

Source§

impl RayUrlInput for &String

Source§

impl RayUrlInput for &Url

Source§

impl RayUrlInput for String

Source§

impl RayUrlInput for Url

Implementors§