Trait irclap::IrclapResponseStream
[−]
[src]
pub trait IrclapResponseStream { fn send_message(&self, msg: &str) -> Result<(), IrcError>; }
Sends out messages to whatever channel, nickname, or other target started processing of a message.
Implementations will use NOTICE
for channels,
PRIVMSG
for direct messages, and just println!
for CLI execution.
Required Methods
fn send_message(&self, msg: &str) -> Result<(), IrcError>
Sends a single line to the appropriate response target.