Trait rutie::EncodingSupport
source · 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;
}