Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mimir-IM/mimir
/ functions
Functions
338 in github.com/Mimir-IM/mimir
⨍
Functions
338
◇
Types & classes
41
Method
set_network_online
Inform the selector whether the device has general internet connectivity. Call with `true` when the OS reports the network is up, `false` when all in
src/peer/mod.rs:502
Method
set_network_online
Inform the selector whether the device has general internet connectivity. `true` – network is up; the selector will (re-)connect to the best peer. `
src/peer/ygg_selector.rs:127
Method
set_ygg_peers
Replace the list of managed Yggdrasil router peers (priority = slice order). Metrics (failure count, cost) are preserved for URIs that remain in the
src/peer/mod.rs:493
Function
sign_verify_roundtrip
()
src/crypto.rs:332
Method
start_call
Initiate an outgoing call to `pubkey`.
src/peer/mod.rs:689
Method
stop
Stop all cached client connections.
src/files/mod.rs:147
Method
stop
Stop the node and close all connections. After this returns, no more events will be fired.
src/peer/mod.rs:808
Function
tlv_length_overflow_is_error
()
src/tlv.rs:330
Function
tlv_missing_tag_is_error
()
src/tlv.rs:318
Function
tlv_multiple_fields_roundtrip
()
src/tlv.rs:281
Function
tlv_opt_bytes_returns_none_for_missing_tag
()
src/tlv.rs:324
Function
tlv_single_field_roundtrip
()
src/tlv.rs:272
Function
tlv_u32_roundtrip
()
src/tlv.rs:302
Function
tlv_u64_roundtrip
()
src/tlv.rs:294
Function
tlv_u8_roundtrip
()
src/tlv.rs:310
Function
tlvs_multi_collects_repeated_tags
()
src/tlv.rs:338
Method
update_chat_info
(&self, mediator_pubkey: Vec<u8>, chat_id: i64, name: Option<String>, description: Option<String>, avatar: Opt
src/mediator/mod.rs:124
Method
update_chat_info
(&self, chat_id: i64, name: Option<&str>, desc: Option<&str>, avatar: Option<&[u8]>)
src/mediator/client.rs:212
Method
update_member_info
Push our encrypted profile blob to the mediator for `chat_id`.
src/mediator/mod.rs:247
Method
upload_file
Upload a file to the server. Returns the 32-byte SHA-256 hash of the encrypted file. 1. Encrypt file to temp 2. SHA-256 the encrypted temp file 3. Up
src/files/mod.rs:72
Function
varint_bytes_consumed
()
src/tlv.rs:250
Function
varint_empty_data_is_error
()
src/tlv.rs:265
Function
varint_max_representable_value
()
src/tlv.rs:241
Function
varint_multi_byte_values
()
src/tlv.rs:234
Function
varint_overflow_is_error
()
src/tlv.rs:259
Function
varint_roundtrip
(v: u32)
src/tlv.rs:216
Function
varint_single_byte_values
()
src/tlv.rs:224
Function
verify_wrong_key_fails
()
src/crypto.rs:350
Function
verify_wrong_message_fails
()
src/crypto.rs:342
Method
wait_for_peer_info
Block until the active Yggdrasil peer info changes, then return it. If no change occurs within `timeout_ms` milliseconds the current state is returne
src/peer/mod.rs:511
Function
write_call_answer
(conn: &AsyncConn, ok: bool, error: &str)
src/peer/protocol.rs:458
Function
write_call_hangup
(conn: &AsyncConn)
src/peer/protocol.rs:470
Function
write_call_offer
(conn: &AsyncConn, offer: &CallOffer)
src/peer/protocol.rs:436
Function
write_call_packet
(conn: &AsyncConn, data: &[u8])
src/peer/protocol.rs:481
Function
write_info_response
(conn: &AsyncConn, r: &InfoResponse)
src/peer/protocol.rs:336
Function
write_message
Write a message to the connection. Callers are responsible for pre-assembling `data`: - text (type 0, 2): raw content bytes - file/image (type 1, 3):
src/peer/protocol.rs:395
Function
write_ping
(conn: &AsyncConn)
src/peer/protocol.rs:283
Function
write_pong
(conn: &AsyncConn)
src/peer/protocol.rs:289
← previous
301–338 of 338, ranked by callers