MCPcopy Create free account

hub / github.com/aatxe/irc / functions

Functions291 in github.com/aatxe/irc

Functionchannel_tracking_names_part
()
src/client/mod.rs:1376
Functioncreate_user
()
src/client/data/user.rs:248
Functioncreate_user_complex
()
src/client/data/user.rs:263
Functionctcp_ping_no_timestamp
()
src/client/mod.rs:1636
Functionctcp_ping_response
()
src/client/mod.rs:1585
Methoddecode
(&mut self, src: &mut BytesMut)
irc-proto/src/irc.rs:40
Methoddecode
(&mut self, src: &mut BytesMut)
irc-proto/src/line.rs:44
Functionderank_user_in_full
()
src/client/data/user.rs:332
Methodempty
Creates a new mock stream with nothing to read.
src/client/mock.rs:17
Methodencode
(&mut self, msg: String, dst: &mut BytesMut)
irc-proto/src/line.rs:88
Methodeq
(&self, other: &User)
src/client/data/user.rs:126
Functionfinger_response
()
src/client/mod.rs:1531
Methodfmt
(&self, f: &mut fmt::Formatter)
irc-proto/src/prefix.rs:91
Methodfmt
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
Methodfmt
(&self, f: &mut fmt::Formatter)
irc-proto/src/mode.rs:70
Methodfmt
(&self, f: &mut fmt::Formatter)
src/client/conn.rs:71
Functionformat_response
()
irc-proto/src/command.rs:1133
Methodfrom
(cmd: &'a Command)
irc-proto/src/command.rs:224
Methodfrom
(s: &str)
irc-proto/src/prefix.rs:106
Methodfrom
(e: std::io::Error)
irc-proto/src/error.rs:27
Methodfrom
(cmd: Command)
irc-proto/src/message.rs:118
Methodfrom
(e: ProtocolError)
src/error.rs:193
Functionfrom_and_to_string
()
irc-proto/src/message.rs:463
Methodfrom_char
(c: char)
irc-proto/src/mode.rs:52
Methodfrom_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
Methodfrom_str
(s: &str)
irc-proto/src/command.rs:1017
Methodfrom_str
(s: &str)
irc-proto/src/prefix.rs:84
Methodfrom_str
(s: &str)
irc-proto/src/response.rs:422
Methodfrom_str
(s: &str)
irc-proto/src/message.rs:130
Methodfrom_str
(s: &str)
src/client/data/user.rs:192
Functionfrom_string
()
irc-proto/src/message.rs:402
Functionfrom_string_atypical_endings
()
irc-proto/src/message.rs:442
Functionget_hostname
()
src/client/data/user.rs:292
Methodget_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
Functionget_nickname
()
src/client/data/user.rs:278
Functionget_option
()
src/client/data/config.rs:689
Methodget_option
Looks up the specified string in the options map.
src/client/data/config.rs:629
Functionget_username
()
src/client/data/user.rs:284
Methodget_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
Functionhandle_end_motd_with_chan_keys
()
src/client/mod.rs:1193
Functionhandle_end_motd_with_ghost
()
src/client/mod.rs:1216
Functionhandle_end_motd_with_ghost_seq
()
src/client/mod.rs:1239
Functionhandle_end_motd_with_nick_password
()
src/client/mod.rs:1174
Functionhandle_end_motd_with_umodes
()
src/client/mod.rs:1264
Functionhandle_message
()
src/client/mod.rs:1158
Functionhandle_single_soh
()
src/client/mod.rs:1516
Functionidentify
()
src/client/mod.rs:1649
Functionidentify_with_password
()
src/client/mod.rs:1662
Functionis_error
()
irc-proto/src/response.rs:439
Methodis_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
Functionis_false
(v: &bool)
src/client/data/config.rs:227
Functionis_owner
()
src/client/data/config.rs:678
Methodis_owner
Determines whether or not the nickname provided is the owner of the bot.
src/client/data/config.rs:399
Methodis_terminated
(&self)
src/client/mod.rs:459
Methodlist_channels
(&self)
src/client/mod.rs:1001
Methodload
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
Functionload_from_json
()
src/client/data/config.rs:704
Functionload_from_toml
()
src/client/data/config.rs:715
Functionload_from_yaml
()
src/client/data/config.rs:726
Methodload_json
(path: P, data: &str)
src/client/data/config.rs:273
Methodload_toml
(path: P, data: &str)
src/client/data/config.rs:289
Methodload_yaml
(path: P, data: &str)
src/client/data/config.rs:305
Methodlog_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
Functionmain
()
examples/convertconf.rs:11
Functionmain
()
examples/repeater.rs:5
Functionmain
()
examples/simple_proxy.rs:5
Functionmain
()
examples/tweeter.rs:7
Functionmain
()
examples/multiserver.rs:5
Functionmain
()
examples/simple_plaintext.rs:5
Functionmain
()
examples/build-bot.rs:9
Functionmain
()
examples/simple.rs:5
Functionmain
()
examples/tooter.rs:6
Methodmax_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
Methodminus
Creates a minus mode with an `&str` argument.
irc-proto/src/mode.rs:233
Methodmode
(target: &str, modes: &[Mode<Self>])
irc-proto/src/mode.rs:44
Methodnew
Constructs a new Command.
irc-proto/src/command.rs:420
Methodnew
Creates a new instance of IrcCodec wrapping a LineCodec with the specific encoding.
irc-proto/src/irc.rs:16
Methodnew
()
irc-proto/src/colors.rs:54
Methodnew
Creates a new instance of LineCodec from the specified encoding.
irc-proto/src/line.rs:23
Methodnew
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
Methodnew
(sender: Sender, config: Config)
src/client/mod.rs:508
Methodnew
Creates a new mock stream with the specified bytes to read.
src/client/mock.rs:22
Methodnew
Creates a new `Connection` using the specified `Config`
src/client/conn.rs:87
Methodnew
Construct a new pinger helper.
src/client/transport.rs:45
Methodnew
Creates a new User.
src/client/data/user.rs:26
Methodnew_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
Methodnew_mocked_transport
( config: &Config, tx: UnboundedSender<Message>, )
src/client/conn.rs:390
Methodnew_secured_transport
( config: &Config, tx: UnboundedSender<Message>, )
src/client/conn.rs:163
Methodnew_stream
(config: &Config)
src/client/conn.rs:115
Methodnew_unsecured_transport
( config: &Config, tx: UnboundedSender<Message>, )
src/client/conn.rs:152
Functionnickname_in_use
()
src/client/mod.rs:1283
Methodno_prefix
Create a no prefix mode with an `&str` argument.
irc-proto/src/mode.rs:238
Functionno_user_tracking
()
src/client/mod.rs:1503
Methodoutgoing
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
Functionparse_access_level
()
src/client/data/user.rs:237
Functionparse_channel_mode
()
irc-proto/src/mode.rs:361
Functionparse_danger_cases
()
irc-proto/src/prefix.rs:171
Functionparse_dot_and_symbols
()
irc-proto/src/prefix.rs:163
Functionparse_host
()
irc-proto/src/prefix.rs:142
Functionparse_nick_user
()
irc-proto/src/prefix.rs:147
← previousnext →101–200 of 291, ranked by callers