Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aatxe/irc
/ functions
Functions
291 in github.com/aatxe/irc
⨍
Functions
291
◇
Types & classes
45
Function
channel_tracking_names_part
()
src/client/mod.rs:1376
Function
create_user
()
src/client/data/user.rs:248
Function
create_user_complex
()
src/client/data/user.rs:263
Function
ctcp_ping_no_timestamp
()
src/client/mod.rs:1636
Function
ctcp_ping_response
()
src/client/mod.rs:1585
Method
decode
(&mut self, src: &mut BytesMut)
irc-proto/src/irc.rs:40
Method
decode
(&mut self, src: &mut BytesMut)
irc-proto/src/line.rs:44
Function
derank_user_in_full
()
src/client/data/user.rs:332
Method
empty
Creates a new mock stream with nothing to read.
src/client/mock.rs:17
Method
encode
(&mut self, msg: String, dst: &mut BytesMut)
irc-proto/src/line.rs:88
Method
eq
(&self, other: &User)
src/client/data/user.rs:126
Function
finger_response
()
src/client/mod.rs:1531
Method
fmt
(&self, f: &mut fmt::Formatter)
irc-proto/src/prefix.rs:91
Method
fmt
Converts a Message into a String according to the IRC protocol. # Example ``` # extern crate irc_proto; # use irc_proto::Message; # fn main() { let m
irc-proto/src/message.rs:240
Method
fmt
(&self, f: &mut fmt::Formatter)
irc-proto/src/mode.rs:70
Method
fmt
(&self, f: &mut fmt::Formatter)
src/client/conn.rs:71
Function
format_response
()
irc-proto/src/command.rs:1133
Method
from
(cmd: &'a Command)
irc-proto/src/command.rs:224
Method
from
(s: &str)
irc-proto/src/prefix.rs:106
Method
from
(e: std::io::Error)
irc-proto/src/error.rs:27
Method
from
(cmd: Command)
irc-proto/src/message.rs:118
Method
from
(e: ProtocolError)
src/error.rs:193
Function
from_and_to_string
()
irc-proto/src/message.rs:463
Method
from_char
(c: char)
irc-proto/src/mode.rs:52
Method
from_config
Creates a `Future` of an `Client` from the specified configuration and on the event loop corresponding to the given handle. This can be used to set up
src/client/mod.rs:927
Method
from_str
(s: &str)
irc-proto/src/command.rs:1017
Method
from_str
(s: &str)
irc-proto/src/prefix.rs:84
Method
from_str
(s: &str)
irc-proto/src/response.rs:422
Method
from_str
(s: &str)
irc-proto/src/message.rs:130
Method
from_str
(s: &str)
src/client/data/user.rs:192
Function
from_string
()
irc-proto/src/message.rs:402
Function
from_string_atypical_endings
()
irc-proto/src/message.rs:442
Function
get_hostname
()
src/client/data/user.rs:292
Method
get_hostname
Gets the hostname of the user, if it's known. This requires the IRCv3.2 extension `userhost-in-name`.
src/client/data/user.rs:67
Function
get_nickname
()
src/client/data/user.rs:278
Function
get_option
()
src/client/data/config.rs:689
Method
get_option
Looks up the specified string in the options map.
src/client/data/config.rs:629
Function
get_username
()
src/client/data/user.rs:284
Method
get_username
Gets the username of the user, if it's known. This requires the IRCv3.2 extension `userhost-in-name`.
src/client/data/user.rs:61
Function
handle_end_motd_with_chan_keys
()
src/client/mod.rs:1193
Function
handle_end_motd_with_ghost
()
src/client/mod.rs:1216
Function
handle_end_motd_with_ghost_seq
()
src/client/mod.rs:1239
Function
handle_end_motd_with_nick_password
()
src/client/mod.rs:1174
Function
handle_end_motd_with_umodes
()
src/client/mod.rs:1264
Function
handle_message
()
src/client/mod.rs:1158
Function
handle_single_soh
()
src/client/mod.rs:1516
Function
identify
()
src/client/mod.rs:1649
Function
identify_with_password
()
src/client/mod.rs:1662
Function
is_error
()
irc-proto/src/response.rs:439
Method
is_error
Determines whether or not this response is an error response. This error consideration is according to RFC2812, but is rather simplistic. It consider
irc-proto/src/response.rs:415
Function
is_false
(v: &bool)
src/client/data/config.rs:227
Function
is_owner
()
src/client/data/config.rs:678
Method
is_owner
Determines whether or not the nickname provided is the owner of the bot.
src/client/data/config.rs:399
Method
is_terminated
(&self)
src/client/mod.rs:459
Method
list_channels
(&self)
src/client/mod.rs:1001
Method
load
Loads a configuration from the desired path. This will use the file extension to detect which format to parse the file as (json, toml, or yaml). Using
src/client/data/config.rs:248
Function
load_from_json
()
src/client/data/config.rs:704
Function
load_from_toml
()
src/client/data/config.rs:715
Function
load_from_yaml
()
src/client/data/config.rs:726
Method
load_json
(path: P, data: &str)
src/client/data/config.rs:273
Method
load_toml
(path: P, data: &str)
src/client/data/config.rs:289
Method
load_yaml
(path: P, data: &str)
src/client/data/config.rs:305
Method
log_view
Gets a view of the internal logging if and only if this connection is using a mock stream. Otherwise, this will always return `None`. This is used for
src/client/conn.rs:427
Function
main
()
examples/convertconf.rs:11
Function
main
()
examples/repeater.rs:5
Function
main
()
examples/simple_proxy.rs:5
Function
main
()
examples/tweeter.rs:7
Function
main
()
examples/multiserver.rs:5
Function
main
()
examples/simple_plaintext.rs:5
Function
main
()
examples/build-bot.rs:9
Function
main
()
examples/simple.rs:5
Function
main
()
examples/tooter.rs:6
Method
max_messages_in_burst
The maximum number of messages that can be sent in a burst window before they'll be delayed. Messages are automatically delayed until the start of the
src/client/data/config.rs:612
Method
minus
Creates a minus mode with an `&str` argument.
irc-proto/src/mode.rs:233
Method
mode
(target: &str, modes: &[Mode<Self>])
irc-proto/src/mode.rs:44
Method
new
Constructs a new Command.
irc-proto/src/command.rs:420
Method
new
Creates a new instance of IrcCodec wrapping a LineCodec with the specific encoding.
irc-proto/src/irc.rs:16
Method
new
()
irc-proto/src/colors.rs:54
Method
new
Creates a new instance of LineCodec from the specified encoding.
irc-proto/src/line.rs:23
Method
new
Creates a new message from the given components. # Example ``` # extern crate irc_proto; # use irc_proto::Message; # fn main() { let message = Messag
irc-proto/src/message.rs:43
Method
new
(sender: Sender, config: Config)
src/client/mod.rs:508
Method
new
Creates a new mock stream with the specified bytes to read.
src/client/mock.rs:22
Method
new
Creates a new `Connection` using the specified `Config`
src/client/conn.rs:87
Method
new
Construct a new pinger helper.
src/client/transport.rs:45
Method
new
Creates a new User.
src/client/data/user.rs:26
Method
new_from_str
Creates a prefix by parsing a string. # Example ``` # extern crate irc_proto; # use irc_proto::Prefix; # fn main() { Prefix::new_from_str("nickname!u
irc-proto/src/prefix.rs:28
Method
new_mocked_transport
( config: &Config, tx: UnboundedSender<Message>, )
src/client/conn.rs:390
Method
new_secured_transport
( config: &Config, tx: UnboundedSender<Message>, )
src/client/conn.rs:163
Method
new_stream
(config: &Config)
src/client/conn.rs:115
Method
new_unsecured_transport
( config: &Config, tx: UnboundedSender<Message>, )
src/client/conn.rs:152
Function
nickname_in_use
()
src/client/mod.rs:1283
Method
no_prefix
Create a no prefix mode with an `&str` argument.
irc-proto/src/mode.rs:238
Function
no_user_tracking
()
src/client/mod.rs:1503
Method
outgoing
Take the outgoing future in order to drive it yourself. Must be called before `stream` if you intend to drive this future yourself.
src/client/mod.rs:964
Function
parse_access_level
()
src/client/data/user.rs:237
Function
parse_channel_mode
()
irc-proto/src/mode.rs:361
Function
parse_danger_cases
()
irc-proto/src/prefix.rs:171
Function
parse_dot_and_symbols
()
irc-proto/src/prefix.rs:163
Function
parse_host
()
irc-proto/src/prefix.rs:142
Function
parse_nick_user
()
irc-proto/src/prefix.rs:147
← previous
next →
101–200 of 291, ranked by callers