Trait rutie::EncodingSupport [−][src]
pub trait EncodingSupport { fn encode(&self, enc: Encoding, opts: Option<Hash>) -> Self
where
Self: Sized; fn encoding(&self) -> Encoding; fn force_encoding(&mut self, enc: Encoding) -> Result<Self, AnyException>
where
Self: Sized; fn is_valid_encoding(&self) -> bool; }
Required Methods
fn encode(&self, enc: Encoding, opts: Option<Hash>) -> Self where
Self: Sized,
Self: Sized,
fn encoding(&self) -> Encoding
fn force_encoding(&mut self, enc: Encoding) -> Result<Self, AnyException> where
Self: Sized,
Self: Sized,
fn is_valid_encoding(&self) -> bool
Implementors
impl EncodingSupport for RString