[−][src]Trait twitch_irc::message::AsRawIRC
Anything that can be converted into the raw IRC wire format.
Required methods
fn format_as_raw_irc(&self, f: &mut Formatter<'_>) -> Result
Writes the raw IRC message to the given formatter.
Provided methods
fn as_raw_irc(&self) -> String where
Self: Sized,
Self: Sized,
Creates a new string with the raw IRC message.
The resulting output string is guaranteed to parse to the same value it was created from, but due to protocol ambiguity it is not guaranteed to be identical to the input the value was parsed from (if it was parsed at all).
For example, the order of tags might differ, or the use of trailing parameters might be different.