surrealdb::engine::any

Trait IntoEndpoint

Source
pub trait IntoEndpoint {
    // Required method
    fn into_endpoint(self) -> Result<Endpoint>;
}
Expand description

A trait for converting inputs to a server address object

Required Methods§

Source

fn into_endpoint(self) -> Result<Endpoint>

Converts an input into a server address object

Implementations on Foreign Types§

Source§

impl IntoEndpoint for &str

Source§

impl IntoEndpoint for &String

Source§

impl IntoEndpoint for String

Source§

impl<T> IntoEndpoint for (T, Config)
where T: Into<String>,

Implementors§