Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Libera-Chat/sable
/ functions
Functions
1,187 in github.com/Libera-Chat/sable
⨍
Functions
1,187
◇
Types & classes
375
↓ 3 callers
Method
set_all
(&mut self, caps: ClientCapabilitySet)
sable_ircd/src/capability/mod.rs:113
↓ 3 callers
Method
set_clock
Set the clock for this log. This should only be used when importing a serialized [Network] state, to sync the event log's view of 'current' with that
sable_network/src/sync/eventlog.rs:126
↓ 3 callers
Method
target
(&self)
sable_network/src/network/wrapper/message.rs:105
↓ 3 callers
Method
user_ids
Return the associated User and UserConnection IDs, if present
sable_ircd/src/client.rs:174
↓ 3 callers
Method
wait
(self)
sable_server/src/management.rs:272
↓ 3 callers
Method
with_tag
Add a tag to the batch
sable_ircd/src/messages/batch.rs:47
↓ 3 callers
Method
with_tags
Add a set of message tags to the message
sable_ircd/src/messages/mod.rs:96
↓ 2 callers
Method
account_name
(&self)
sable_network/src/network/wrapper/user.rs:82
↓ 2 callers
Method
add
Add an entry
sable_ircd/src/isupport.rs:70
↓ 2 callers
Method
apply
Apply an [Event] to the network state. This is the only supported way to update the state. Events should be applied as they are emitted by the event
sable_network/src/network/network/mod.rs:174
↓ 2 callers
Method
apply_action
(&self, action: CommandAction)
sable_ircd/src/server/command_action.rs:100
↓ 2 callers
Method
auth_for_account
(&self, id: AccountId)
sable_services/src/database/jsonfile.rs:156
↓ 2 callers
Method
authenticate
(&self, session_id: SaslSessionId, data: Vec<u8>)
sable_services/src/server/command/sasl_commands.rs:25
↓ 2 callers
Method
batch
Create a batch to be sent to this sink. Required parameters are the batch type as defined in the relevant IRCv3 specification, and the corresponding
sable_ircd/src/messages/message_sink.rs:26
↓ 2 callers
Function
build_event_ids
(input: &[(u16, u64, u16)])
sable_network/src/network/event/tests.rs:4
↓ 2 callers
Function
build_network_from
(network: &mut Network, events: impl IntoIterator<Item = &'a Event>)
sable_network/tests/event_reordering.rs:37
↓ 2 callers
Method
can_attach_to_user
Determine whether this connection is ready to attach to an existing user
sable_ircd/src/client.rs:275
↓ 2 callers
Method
can_change_access_for
( &self, source: &wrapper::Account, chan: &wrapper::ChannelRegistration, targe
sable_network/src/policy/standard_registration_policy.rs:63
↓ 2 callers
Method
can_create_role
( &self, source: &wrapper::Account, channel: &wrapper::ChannelRegistration, wi
sable_network/src/policy/standard_registration_policy.rs:144
↓ 2 callers
Method
can_edit_role
( &self, source: &wrapper::Account, channel: &wrapper::ChannelRegistration, ro
sable_network/src/policy/standard_registration_policy.rs:119
↓ 2 callers
Method
can_register_new_user
Determine whether this connection is ready to register as a new user
sable_ircd/src/client.rs:267
↓ 2 callers
Method
can_see_user_on_channel
(&self, user: &User, member: &Membership)
sable_network/src/policy/standard_channel_policy.rs:174
↓ 2 callers
Method
can_send
(&self, user: &User, channel: &Channel, _msg: &str)
sable_network/src/policy/standard_channel_policy.rs:128
↓ 2 callers
Method
can_set_key
( &self, user: &User, channel: &Channel, _new_key: Option<&ChannelKey>, )
sable_network/src/policy/standard_channel_policy.rs:313
↓ 2 callers
Method
change
(&self)
sable_network/src/history/mod.rs:25
↓ 2 callers
Method
channel_accesses
(&self)
sable_network/src/network/wrapper/account.rs:26
↓ 2 callers
Method
channel_registration
Retrieve a channel registration
sable_network/src/network/network/accessors.rs:364
↓ 2 callers
Method
channel_registration
( &self, id: ChannelRegistrationId, )
sable_services/src/database/jsonfile.rs:227
↓ 2 callers
Method
channel_registration_by_name
Retrieve a channel registration by name
sable_network/src/network/network/accessors.rs:375
↓ 2 callers
Method
command
(&self)
sable_ircd/src/command/client_command.rs:180
↓ 2 callers
Method
current_services_server_name
Retrieve the server name of the current active services
sable_network/src/network/network/accessors.rs:297
↓ 2 callers
Method
data
Return the reply data. Return value is a borrowed reference to a `Vec<String>`. Each entry in the vector should be sent as the final parameter of an
sable_ircd/src/isupport.rs:79
↓ 2 callers
Method
delete_server
( &mut self, target: ServerId, event: &Event, updates: &dyn NetworkUpdateRecei
sable_network/src/network/network/server_state.rs:58
↓ 2 callers
Method
disable_peer
(&self, name: &ServerName)
sable_network/src/sync/network.rs:202
↓ 2 callers
Method
do_add
(&mut self, e: Event)
sable_network/src/sync/eventlog.rs:186
↓ 2 callers
Method
do_bind_nickname
( &mut self, target: NicknameId, user: UserId, old_nick: Nickname, eve
sable_network/src/network/network/user_state.rs:119
↓ 2 callers
Method
do_rename_channel
Rename a channel
sable_network/src/network/network/channel_state.rs:24
↓ 2 callers
Method
do_send_to
( &self, peer: &PeerConfig, msg: Message, response_sender: UnboundedSender<Req
sable_network/src/sync/network.rs:367
↓ 2 callers
Function
drain_from
(log: &mut UnboundedReceiver<Event>)
sable_network/src/sync/tests.rs:6
↓ 2 callers
Method
enable_server
Enable a server for sync purposes. This should be called when a server is seen to join the network, and will enable both inbound and outbound sync mes
sable_network/src/sync/replicated_log.rs:261
↓ 2 callers
Method
enable_with_values
pub fn enable(&self, cap: ClientCapability) { for entry in &self.supported_caps { if entry.cap == cap
sable_ircd/src/capability/repository.rs:106
↓ 2 callers
Method
entries_for_user_reverse
(&self, user: UserId)
sable_network/src/history/log.rs:138
↓ 2 callers
Method
except
Add an except capability, which will cause the condition not to match if it is set
sable_ircd/src/capability/capability_condition.rs:25
↓ 2 callers
Function
format_channel_perm_changes
( nick: &Nickname, added: &MembershipFlagSet, removed: &MembershipFlagSet, )
sable_network/src/utils/channel_modes.rs:35
↓ 2 callers
Function
format_timestamp
(ts: i64)
sable_ircd/src/utils/time_utils.rs:3
↓ 2 callers
Method
general
(&self)
sable_network/src/audit/mod.rs:78
↓ 2 callers
Method
get_entries
( &self, _user: UserId, target: TargetId, request: HistoryRequest, )
sable_history/src/pg_history_service.rs:78
↓ 2 callers
Method
get_since
Iterate over all events in the current log which do not precede the given event clock. When provided with the current event clock from a remote serve
sable_network/src/sync/eventlog.rs:85
↓ 2 callers
Method
handle_new_event
callers log evt themselves
sable_network/src/sync/replicated_log.rs:532
↓ 2 callers
Function
hashed_channel_name_for
Generate a hashed channel name for the given channel ID, to be used for the loser of a name collision
sable_network/src/network/state_utils.rs:25
↓ 2 callers
Method
history
Access the network history
sable_network/src/node/mod.rs:147
↓ 2 callers
Method
history_service
Access the long-term history, potentially backed by RPC calls to the history server
sable_network/src/node/mod.rs:153
↓ 2 callers
Method
id
Return this object's ID
sable_network/src/network/wrapper/channel.rs:12
↓ 2 callers
Method
infallible_nick_for_user
Return a nickname for the given user. If a nick binding for that user exists, it is used, otherwise a hashed nickname (as used in collision resolution
sable_network/src/network/network/accessors.rs:84
↓ 2 callers
Method
is_alias_user
Determine whether this user refers to a compatibility alias
sable_network/src/network/wrapper/user.rs:152
↓ 2 callers
Method
is_unset
(&self)
sable_network/src/network/option_change.rs:17
↓ 2 callers
Method
iter
Iterate over connections
sable_ircd/src/connection_collection.rs:152
↓ 2 callers
Function
keys_subset
(map1: &HashMap<T, U>, map2: &HashMap<T, V>)
sable_network/src/network/event/clock.rs:67
↓ 2 callers
Method
list_targets
( &self, _user: UserId, _after_ts: Option<i64>, _before_ts: Option<i64>,
sable_history/src/pg_history_service.rs:31
↓ 2 callers
Method
list_type
(&self)
sable_network/src/id.rs:99
↓ 2 callers
Method
list_type
The list type
sable_network/src/network/wrapper/list_mode.rs:16
↓ 2 callers
Method
matches
Determine whether the given set of client capabilities matches this condition. Returns true iff all required flags, and no except flags, are present
sable_ircd/src/capability/capability_condition.rs:32
↓ 2 callers
Method
message_target
Look up a historic message target
sable_network/src/network/network/accessors.rs:157
↓ 2 callers
Method
monitored_nicks
Returns all nicks monitored by the given connection
sable_ircd/src/monitor.rs:98
↓ 2 callers
Method
new_channel_role
(&self, data: state::ChannelRole)
sable_services/src/database/jsonfile.rs:297
↓ 2 callers
Method
next
Retrieve an item from the queue, if one is available and the throttle permits it. If there is no pending item in the queue, then no tokens are consum
sable_ircd/src/throttled_queue.rs:76
↓ 2 callers
Method
notify_error
(&self, err: CommandError)
sable_ircd/src/command/handlers/services/mod.rs:68
↓ 2 callers
Method
object_id
(&self)
sable_ircd/src/command/plumbing/target_types.rs:11
↓ 2 callers
Method
parse
( context: &'a dyn Command, arg: &'b mut ArgListIter<'a>, )
sable_ircd/src/command/plumbing/argument_list.rs:72
↓ 2 callers
Method
pattern
Return the pattern expression which matches
sable_network/src/network/wrapper/bans.rs:16
↓ 2 callers
Method
raw_user_connections
Return an iterator over the raw `state::UserConnection` objects.
sable_network/src/network/network/accessors.rs:52
↓ 2 callers
Method
read_and_handle_message
( self: Arc<NetworkTaskState>, mut stream: TlsStream<TcpStream>, message_sender: Unbou
sable_network/src/sync/network.rs:493
↓ 2 callers
Method
reason
(mut self, reason: String)
sable_network/src/audit/mod.rs:119
↓ 2 callers
Method
remove_channel
(&mut self, id: ChannelId, _updates: &dyn NetworkUpdateReceiver)
sable_network/src/network/network/channel_state.rs:389
↓ 2 callers
Method
require
Add a required capability to the condition set
sable_ircd/src/capability/capability_condition.rs:20
↓ 2 callers
Method
response_source
(&self)
sable_ircd/src/command/handlers/services/mod.rs:52
↓ 2 callers
Method
restore_connection
Restore a connection belonging to this connection from its saved [`ConnectionData`]
client_listener/src/listener_collection.rs:289
↓ 2 callers
Method
roles
Access the list of roles defined for this channel
sable_network/src/network/wrapper/channel_registration.rs:26
↓ 2 callers
Function
run_communication_task
( control_sender: IpcSender<ControlMessage>, event_receiver: IpcReceiver<AuthEvent>, mut control_r
auth_client/src/auth_client.rs:42
↓ 2 callers
Function
run_communication_task
( control_send: IpcSender<ControlMessage>, local_control_send: UnboundedSender<ControlMessage>, mu
client_listener/src/listener_collection.rs:309
↓ 2 callers
Method
save
Save the connection's data
sable_ircd/src/client.rs:110
↓ 2 callers
Method
save
Save the connection state for later restoration. See [`ListenerCollection::restore_connection`] for the counterpart to restore the saved state to a n
client_listener/src/connection.rs:60
↓ 2 callers
Method
save_state
(&self)
sable_network/src/sync/network.rs:169
↓ 2 callers
Method
save_state
Save the collection state for later resumption
sable_ircd/src/connection_collection.rs:162
↓ 2 callers
Method
send
(&self, msg: messages::OutboundClientMessage)
sable_ircd/src/client.rs:203
↓ 2 callers
Function
send_channel_names
Returns a NAMES reply (or the implicit one after joining a channel)
sable_ircd/src/utils/channel_names.rs:11
↓ 2 callers
Method
send_control
(&self, msg: ConnectionControlDetail)
client_listener/src/connection.rs:37
↓ 2 callers
Method
send_item
( &self, item: &NetworkHistoryUpdate, conn: impl MessageSink, _from_entry: &im
sable_ircd/src/messages/send_history.rs:24
↓ 2 callers
Function
send_motd
( server: &ClientServer, to: impl MessageSink, to_user: &wrapper::User, )
sable_ircd/src/utils/motd.rs:7
↓ 2 callers
Method
send_now
( &self, item: &NetworkHistoryUpdate, conn: &impl MessageSink, _from_entry: &N
sable_ircd/src/messages/send_realtime.rs:22
↓ 2 callers
Method
send_remote_request
Send a request to another server in the network, and wait for the response
sable_network/src/sync/replicated_log.rs:271
↓ 2 callers
Function
send_statuses
(cmd: &dyn Command, targets: Vec<Nickname>)
sable_ircd/src/command/handlers/monitor.rs:107
↓ 2 callers
Method
serial
(&self)
sable_network/src/id.rs:84
↓ 2 callers
Method
serialize
(&self, serializer: S)
sable_network/src/network/ban/repository.rs:141
↓ 2 callers
Function
server_time_tag
(ts: i64)
sable_ircd/src/capability/server_time.rs:5
↓ 2 callers
Method
set_user
Set the associated user ID
sable_ircd/src/client.rs:184
↓ 2 callers
Method
should_see_list_change
(&self, member: &Membership, mode_type: ListModeType)
sable_network/src/policy/standard_channel_policy.rs:294
↓ 2 callers
Method
shutdown
(mut self)
sable_ircd/src/server/server_type.rs:167
↓ 2 callers
Method
shutdown
Shut down the server, if it is not going to be resumed.
sable_server/src/server.rs:217
↓ 2 callers
Method
start
Begin the batch. Executing this will send the `BATCH +<name>` message to open the batch and return the `MessageBatch` object to allow sending inside i
sable_ircd/src/messages/batch.rs:65
← previous
next →
201–300 of 1,187, ranked by callers