Trait RawKeySpecifierComponent

Source
pub trait RawKeySpecifierComponent {
    // Required method
    fn append_to(&self, s: &mut String) -> Result<(), Bug>;
}
Expand description

Trait for (only) formatting as a KeySpecifierComponent

Like the formatting part of KeySpecifierComponent but implemented for Option and &str too.

Required Methods§

Source

fn append_to(&self, s: &mut String) -> Result<(), Bug>

Append selfs KeySpecifierComponent string representation to s

Implementations on Foreign Types§

Source§

impl<'s> RawKeySpecifierComponent for &'s str

Source§

fn append_to(&self, s: &mut String) -> Result<(), Bug>

Source§

impl<T: KeySpecifierComponent> RawKeySpecifierComponent for Option<T>

Source§

fn append_to(&self, s: &mut String) -> Result<(), Bug>

Implementors§