Trait irc::client::ext::ClientExt [] [src]

pub trait ClientExt: Client {
    fn send_cap_ls(&self, version: NegotiationVersion) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_cap_req(&self, extensions: &[Capability]) -> Result<()>
    where
        Self: Sized
, { ... }
fn identify(&self) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_sasl(&self, data: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_sasl_plain(&self) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_sasl_external(&self) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_sasl_abort(&self) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_pong(&self, msg: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_join(&self, chanlist: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_join_with_keys(&self, chanlist: &str, keylist: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_part(&self, chanlist: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_oper(&self, username: &str, password: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_privmsg(&self, target: &str, message: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_notice(&self, target: &str, message: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_topic(&self, channel: &str, topic: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_kill(&self, target: &str, message: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_kick(
        &self,
        chanlist: &str,
        nicklist: &str,
        message: &str
    ) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_mode<T>(&self, target: &str, modes: &[Mode<T>]) -> Result<()>
    where
        Self: Sized,
        T: ModeType
, { ... }
fn send_samode(
        &self,
        target: &str,
        mode: &str,
        modeparams: &str
    ) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_sanick(&self, old_nick: &str, new_nick: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_invite(&self, nick: &str, chan: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_quit(&self, msg: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_ctcp(&self, target: &str, msg: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_action(&self, target: &str, msg: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_finger(&self, target: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_version(&self, target: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_source(&self, target: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_user_info(&self, target: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_ctcp_ping(&self, target: &str) -> Result<()>
    where
        Self: Sized
, { ... }
fn send_time(&self, target: &str) -> Result<()>
    where
        Self: Sized
, { ... } }

Idiomatic extensions for sending messages to an IRC server as a Client.

Provided Methods

Sends a request for a list of server capabilities for a specific IRCv3 version.

Sends an IRCv3 capabilities request for the specified extensions.

Sends a CAP END, NICK and USER to identify.

Sends a SASL AUTHENTICATE message with the specified data.

Sends a SASL AUTHENTICATE request to use the PLAIN mechanism.

Sends a SASL AUTHENTICATE request to use the EXTERNAL mechanism.

Sends a SASL AUTHENTICATE request to abort authentication.

Sends a PONG with the specified message.

Joins the specified channel or chanlist.

Joins the specified channel or chanlist using the specified key or keylist.

Parts the specified channel or chanlist.

Attempts to oper up using the specified username and password.

Sends a message to the specified target.

Sends a notice to the specified target.

Sets the topic of a channel or requests the current one. If topic is an empty string, it won't be included in the message.

Kills the target with the provided message.

Kicks the listed nicknames from the listed channels with a comment. If message is an empty string, it won't be included in the message.

Changes the modes for the specified target.

Changes the mode of the target by force. If modeparams is an empty string, it won't be included in the message.

Forces a user to change from the old nickname to the new nickname.

Invites a user to the specified channel.

Quits the server entirely with a message. This defaults to Powered by Rust. if none is specified.

Sends a CTCP-escaped message to the specified target. This requires the CTCP feature to be enabled.

Sends an action command to the specified target. This requires the CTCP feature to be enabled.

Sends a finger request to the specified target. This requires the CTCP feature to be enabled.

Sends a version request to the specified target. This requires the CTCP feature to be enabled.

Sends a source request to the specified target. This requires the CTCP feature to be enabled.

Sends a user info request to the specified target. This requires the CTCP feature to be enabled.

Sends a finger request to the specified target. This requires the CTCP feature to be enabled.

Sends a time request to the specified target. This requires the CTCP feature to be enabled.

Implementors