Streamable

Trait Streamable 

Source
pub trait Streamable {
    // Required method
    fn stream<W: Write>(&self, w: &mut W) -> Result<usize, IoError>;
}

Required Methods§

Source

fn stream<W: Write>(&self, w: &mut W) -> Result<usize, IoError>

Serializes and sends the content out to w, returning the number of bytes written.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Streamable for Field

Source§

impl Streamable for ResentField

Source§

impl Streamable for TraceBlock

Source§

impl Streamable for Bcc

Source§

impl Streamable for ResentBcc

Source§

impl Streamable for Address

Source§

impl Streamable for CContent

Source§

impl Streamable for Domain

Source§

impl Streamable for GroupList

Source§

impl Streamable for IdRight

Source§

impl Streamable for LocalPart

Source§

impl Streamable for Mailbox

Source§

impl Streamable for Path

Source§

impl Streamable for QContent

Source§

impl Streamable for ReceivedToken

Source§

impl Streamable for Word

Source§

impl Streamable for Email

Source§

impl Streamable for Cc

Source§

impl Streamable for Comments

Source§

impl Streamable for From

Source§

impl Streamable for InReplyTo

Source§

impl Streamable for Keywords

Source§

impl Streamable for MessageId

Source§

impl Streamable for OptionalField

Source§

impl Streamable for OrigDate

Source§

impl Streamable for Received

Source§

impl Streamable for References

Source§

impl Streamable for ReplyTo

Source§

impl Streamable for ResentCc

Source§

impl Streamable for ResentDate

Source§

impl Streamable for ResentFrom

Source§

impl Streamable for ResentMessageId

Source§

impl Streamable for ResentSender

Source§

impl Streamable for ResentTo

Source§

impl Streamable for Return

Source§

impl Streamable for Sender

Source§

impl Streamable for Subject

Source§

impl Streamable for To

Source§

impl Streamable for Body

Source§

impl Streamable for Fields

Source§

impl Streamable for Message

Source§

impl Streamable for OptTraceBlock

Source§

impl Streamable for ResentTraceBlock

Source§

impl Streamable for Text

Source§

impl Streamable for Trace

Source§

impl Streamable for ASCII

Source§

impl Streamable for AText

Source§

impl Streamable for AddrSpec

Source§

impl Streamable for AddressList

Source§

impl Streamable for Alpha

Source§

impl Streamable for AngleAddr

Source§

impl Streamable for Atom

Source§

impl Streamable for CFWS

Source§

impl Streamable for CText

Source§

impl Streamable for Comment

Source§

impl Streamable for DText

Source§

impl Streamable for Date

Source§

impl Streamable for DateTime

Source§

impl Streamable for Day

Source§

impl Streamable for DayName

Source§

impl Streamable for DayOfWeek

Source§

impl Streamable for Digit

Source§

impl Streamable for DisplayName

Source§

impl Streamable for DomainLiteral

Source§

impl Streamable for DotAtom

Source§

impl Streamable for DotAtomText

Source§

impl Streamable for FText

Source§

impl Streamable for FWS

Source§

impl Streamable for FieldName

Source§

impl Streamable for Group

Source§

impl Streamable for Hour

Source§

impl Streamable for IdLeft

Source§

impl Streamable for MailboxList

Source§

impl Streamable for Minute

Source§

impl Streamable for Month

Source§

impl Streamable for MsgId

Source§

impl Streamable for NameAddr

Source§

impl Streamable for NoFoldLiteral

Source§

impl Streamable for Phrase

Source§

impl Streamable for QText

Source§

impl Streamable for QuotedPair

Source§

impl Streamable for QuotedString

Source§

impl Streamable for Second

Source§

impl Streamable for Time

Source§

impl Streamable for TimeOfDay

Source§

impl Streamable for Unstructured

Source§

impl Streamable for VChar

Source§

impl Streamable for WSP

Source§

impl Streamable for Year

Source§

impl Streamable for Zone