pub trait Backend {
type Transport;
// Required methods
fn is_available(&self) -> bool;
fn name(&self) -> &'static str;
}Expand description
Trait for session backends.
Required Associated Types§
Required Methods§
Sourcefn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if the backend is available.