Trait conch_runtime::env::StringWrapper
[−]
[src]
pub trait StringWrapper: Borrow<String> + Clone + Eq + From<String> + Hash { fn into_owned(self) -> String; fn as_str(&self) -> &str; }
An interface for any Clone
able wrapper around a String
.
Required Methods
fn into_owned(self) -> String
Unwrap to an owned String
.
fn as_str(&self) -> &str
Borrow the contents as a slice.