[−][src]Struct kekbit_codecs::codecs::text::PlainTextDataFormat
Simple unstructured text format. Any applications which just want to exchange plain text may used (e.g. a chat clients, or an application used to exchang text files between peers).
Trait Implementations
impl DataFormat for PlainTextDataFormat
[src]
fn id() -> u64
[src]
Returns three, the id of the most simple text encoder
fn media_type() -> &'static str
[src]
impl<T: AsRef<str>> Encodable<PlainTextDataFormat> for T
[src]
Auto Trait Implementations
impl RefUnwindSafe for PlainTextDataFormat
impl Send for PlainTextDataFormat
impl Sync for PlainTextDataFormat
impl Unpin for PlainTextDataFormat
impl UnwindSafe for PlainTextDataFormat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,