MCPcopy Create free account

hub / github.com/aatxe/irc / functions

Functions291 in github.com/aatxe/irc

↓ 115 callersFunctionstringify
(cmd: &str, args: &[&str])
irc-proto/src/command.rs:207
↓ 70 callersMethodcollect
collect stream and collect all messages available.
src/client/mod.rs:444
↓ 69 callersFunctionnew
()
irc-proto/src/message.rs:311
↓ 68 callersFunctionraw
Makes a raw message from the specified command, arguments, and suffix.
irc-proto/src/command.rs:970
↓ 63 callersMethodstream
Gets a stream of incoming messages from the `Client`'s connection. This is only necessary when trying to set up more complex clients, and requires use
src/client/mod.rs:985
↓ 56 callersFunctiontest_config
()
src/client/mod.rs:1110
↓ 51 callersMethodas_ref
(&self)
irc-proto/src/caps.rs:52
↓ 17 callersMethodupdate_access_level
Updates the user's access level.
src/client/data/user.rs:82
↓ 16 callersMethodconfig
(&self)
src/client/mod.rs:518
↓ 12 callersMethodto_str
Gets the string that corresponds to this subcommand.
irc-proto/src/command.rs:1000
↓ 11 callersMethodnext
(&mut self, cur: char)
irc-proto/src/colors.rs:60
↓ 11 callersMethodsend
(&self, msg: M)
src/client/mod.rs:522
↓ 9 callersMethodidentify
Sends a CAP END, NICK and USER to identify.
src/client/mod.rs:1073
↓ 7 callersMethodpath
Returns the location this Config was loaded from or `<none>`.
src/client/data/config.rs:238
↓ 6 callersMethodencoding
Gets the encoding to use for this connection. This requires the encode feature to work. This defaults to UTF-8 when not specified.
src/client/data/config.rs:544
↓ 6 callersMethodsend_ctcp_internal
(&self, target: &str, msg: &str)
src/client/mod.rs:800
↓ 6 callersMethodsender
Get access to a thread-safe sender that can be used with the client.
src/client/mod.rs:969
↓ 6 callersMethodsource_nickname
Gets the nickname of the message source, if it exists. # Example ``` # extern crate irc_proto; # use irc_proto::Message; # fn main() { let message =
irc-proto/src/message.rs:80
↓ 5 callersMethodadd_access_level
Adds an access level to the list, and updates the highest level if necessary.
src/client/data/user.rs:99
↓ 5 callersMethodcurrent_nickname
Gets the current nickname in use.
src/client/mod.rs:529
↓ 5 callersMethodnickname
Gets the nickname specified in the configuration.
src/client/data/config.rs:404
↓ 5 callersMethodsub_access_level
Removes an access level from the list, and updates the highest level if necessary.
src/client/data/user.rs:107
↓ 4 callersMethodget_nickname
Gets the nickname of the user.
src/client/data/user.rs:55
↓ 4 callersMethodserver
Gets the address of the server specified in the configuration.
src/client/data/config.rs:440
↓ 3 callersMethodflag
Gets the mode flag associated with this mode with a + or - prefix as needed.
irc-proto/src/mode.rs:243
↓ 3 callersMethodis_channel_name
(&self)
irc-proto/src/chan.rs:10
↓ 3 callersFunctionto_string
()
irc-proto/src/message.rs:383
↓ 2 callersMethodaccess_levels
Gets all the user's access levels.
src/client/data/user.rs:77
↓ 2 callersMethodalternate_nicknames
Gets the alternate nicknames specified in the configuration. This defaults to an empty vector when not specified.
src/client/data/config.rs:419
↓ 2 callersMethodcert_path
(&self)
src/client/data/config.rs:516
↓ 2 callersMethodclient_cert_pass
(&self)
src/client/data/config.rs:538
↓ 2 callersMethodclient_cert_path
(&self)
src/client/data/config.rs:532
↓ 2 callersMethoddangerously_accept_invalid_certs
(&self)
src/client/data/config.rs:523
↓ 2 callersFunctionget_client_value
(client: Client)
src/client/mod.rs:1123
↓ 2 callersMethodhandle_ctcp
(&self, resp: &str, tokens: &[&str])
src/client/mod.rs:771
↓ 2 callersMethodhandle_part
(&self, _: &str, _: &str)
src/client/mod.rs:688
↓ 2 callersMethodhighest_access_level
Gets the user's highest access level.
src/client/data/user.rs:72
↓ 2 callersMethodinto_inner
Gets the inner stream underlying the `Transport`.
src/client/transport.rs:165
↓ 2 callersMethodis_formatted
(&self)
irc-proto/src/colors.rs:34
↓ 2 callersMethodlog_view
(&self)
src/client/mod.rs:954
↓ 2 callersMethodnext
(&mut self)
src/client/data/user.rs:220
↓ 2 callersFunctionparse_modes
(pieces: &[&str])
irc-proto/src/mode.rs:299
↓ 2 callersMethodpassword
Gets the server password specified in the configuration. This defaults to an empty string when not specified.
src/client/data/config.rs:466
↓ 2 callersMethodport
(&self)
src/client/data/config.rs:450
↓ 2 callersMethodsend_pong
Send a pong.
src/client/transport.rs:83
↓ 2 callersFunctionstrip_formatting
(buf: &mut String)
irc-proto/src/colors.rs:48
↓ 2 callersMethodumodes
Gets the user modes to set on connect specified in the configuration. This defaults to an empty string when not specified.
src/client/data/config.rs:561
↓ 2 callersMethoduse_tls
(&self)
src/client/data/config.rs:510
↓ 1 callersMethodarg
Gets the arg associated with this mode, if any. Only some channel modes support arguments, e.g. b (ban) or o (oper).
irc-proto/src/mode.rs:253
↓ 1 callersMethodchannel_key
Gets the key for the specified channel if it exists in the configuration.
src/client/data/config.rs:555
↓ 1 callersMethodchannels
Gets the channels to join upon connection. This defaults to an empty vector if it's not specified.
src/client/data/config.rs:550
↓ 1 callersMethodencode
(&mut self, msg: Message, dst: &mut BytesMut)
irc-proto/src/irc.rs:50
↓ 1 callersFunctionescape_tag_value
(f: &mut dyn Write, value: &str)
irc-proto/src/message.rs:269
↓ 1 callersMethodghost_sequence
Gets the NickServ command sequence to recover a nickname. This defaults to `["GHOST"]` when not specified.
src/client/data/config.rs:624
↓ 1 callersMethodhandle_join
(&self, _: &str, _: &str)
src/client/mod.rs:676
↓ 1 callersMethodhandle_message
Handles received messages internally for basic client functionality.
src/client/mod.rs:554
↓ 1 callersMethodhandle_message
Handle an incoming message.
src/client/transport.rs:59
↓ 1 callersMethodhandle_mode
(&self, _: &str, _: &[Mode<ChannelMode>])
src/client/mod.rs:735
↓ 1 callersMethodhandle_namreply
(&self, _: &[String])
src/client/mod.rs:754
↓ 1 callersMethodhandle_nick_change
(&self, _: &str, _: &str)
src/client/mod.rs:718
↓ 1 callersMethodhandle_quit
(&self, _: &str)
src/client/mod.rs:702
↓ 1 callersMethodhandle_sent_message
Handles sent messages internally for basic client functionality.
src/client/mod.rs:543
↓ 1 callersMethodlist_users
(&self, chan: &str)
src/client/mod.rs:1038
↓ 1 callersMethodmock_initial_value
Gets the initial value for the mock connection. This defaults to false when not specified. This has no effect if `use_mock_connection` is not `true`.
src/client/data/config.rs:642
↓ 1 callersMethodnick_password
Gets the bot's nickserv password specified in the configuration. This defaults to an empty string when not specified.
src/client/data/config.rs:413
↓ 1 callersFunctionparse
(input: &[String])
examples/convertconf.rs:30
↓ 1 callersMethodping_time
Gets the amount of time in seconds for the interval at which the client pings the server. This defaults to 180 seconds when not specified.
src/client/data/config.rs:588
↓ 1 callersMethodping_timeout
Gets the amount of time in seconds for the client to disconnect after not receiving a ping response. This defaults to 20 seconds when not specified.
src/client/data/config.rs:595
↓ 1 callersMethodpoll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/mod.rs:867
↓ 1 callersMethodpoll
(mut self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/transport.rs:113
↓ 1 callersMethodpoll_ready
(self: Pin<&mut Self>, cx: &mut Context<'_>)
src/client/conn.rs:451
↓ 1 callersFunctionprocess_msg
(sender: &Sender, message: Message)
examples/multiserver.rs:45
↓ 1 callersMethodproxy_password
(&self)
src/client/data/config.rs:503
↓ 1 callersMethodproxy_port
(&self)
src/client/data/config.rs:489
↓ 1 callersMethodproxy_server
(&self)
src/client/data/config.rs:480
↓ 1 callersMethodproxy_type
(&self)
src/client/data/config.rs:473
↓ 1 callersMethodproxy_username
(&self)
src/client/data/config.rs:496
↓ 1 callersMethodreal_name
Gets the real name specified in the configuration. This defaults to the user's nickname when not specified.
src/client/data/config.rs:433
↓ 1 callersMethodresponse_target
Gets the likely intended place to respond to this message. If the type of the message is a `PRIVMSG` or `NOTICE` and the message is sent to a channel,
irc-proto/src/message.rs:108
↓ 1 callersMethodsave
Saves a configuration to the desired path. This will use the file extension to detect which format to parse the file as (json, toml, or yaml). Using e
src/client/data/config.rs:323
↓ 1 callersMethodsave_json
(&self, path: &P)
src/client/data/config.rs:351
↓ 1 callersMethodsave_toml
(&self, path: &P)
src/client/data/config.rs:367
↓ 1 callersMethodsave_yaml
(&self, path: &P)
src/client/data/config.rs:383
↓ 1 callersMethodsend_nick_password
(&self)
src/client/mod.rs:620
↓ 1 callersMethodsend_ping
Sends a ping via the transport.
src/client/transport.rs:91
↓ 1 callersMethodsend_umodes
(&self)
src/client/mod.rs:650
↓ 1 callersMethodsent
Gets a read guard for all the messages sent on the transport.
src/client/transport.rs:236
↓ 1 callersMethodshould_ghost
Gets whether or not to attempt nickname reclamation using NickServ GHOST. This defaults to false when not specified.
src/client/data/config.rs:618
↓ 1 callersMethodstart_send
(self: Pin<&mut Self>, item: Message)
src/client/conn.rs:460
↓ 1 callersMethodstrip_formatting
(self)
irc-proto/src/colors.rs:38
↓ 1 callersMethodtakes_arg
(&self)
irc-proto/src/mode.rs:48
↓ 1 callersMethoduse_mock_connection
Gets whether or not to use a mock connection for testing. This defaults to false when not specified.
src/client/data/config.rs:635
↓ 1 callersMethodusername
Gets the username specified in the configuration. This defaults to the user's nickname when not specified.
src/client/data/config.rs:425
↓ 1 callersMethodview
Gets a view of the logging for this transport.
src/client/transport.rs:271
↓ 1 callersMethodwith_path
(mut self, path: P)
src/client/data/config.rs:232
Functionaccess_level
()
src/client/data/user.rs:300
Methodas_channel_modes
TODO: turning more edge cases into errors. Parses the specified mode string as channel modes.
irc-proto/src/mode.rs:294
Methodas_user_modes
TODO: turning more edge cases into errors. Parses the specified mode string as user modes.
irc-proto/src/mode.rs:285
Methodburst_window_length
The amount of time in seconds to consider a window for burst messages. The message throttling system maintains the invariant that in the past `burst_w
src/client/data/config.rs:603
Functionchannel_tracking_names
()
src/client/mod.rs:1362
next →1–100 of 291, ranked by callers