Trait sozu_command_lib::AsStr

source ·
pub trait AsStr {
    // Required method
    fn as_str_or(&self, default: &'static str) -> &str;
}

Required Methods§

source

fn as_str_or(&self, default: &'static str) -> &str

Implementations on Foreign Types§

source§

impl<T: AsRef<str>> AsStr for Option<T>

source§

fn as_str_or(&self, default: &'static str) -> &str

Implementors§