Trait hiirc::ext::NickServ [] [src]

pub trait NickServ {
    fn identify(&self, password: &str) -> Result<()Error>;
}

An extension trait to the Irc struct that adds NickServ capabilities.

Import this trait in scope and you can now use irc.identify(password)

Required Methods

fn identify(&self, password: &str) -> Result<()Error>

Send an identify message to the nick server.

This is equivalent to /msg nickserv identify .

Implementors