Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brewlabshq/qlaster-public
/ functions
Functions
169 in github.com/brewlabshq/qlaster-public
⨍
Functions
169
◇
Types & classes
43
↓ 67 callers
Method
len
(&self)
src/types.rs:441
↓ 16 callers
Method
encode
(&self)
src/types.rs:129
↓ 14 callers
Method
flush
(&self)
src/metrics.rs:53
↓ 13 callers
Method
as_raw_fd
(&self)
src/shm/eventfd.rs:137
↓ 12 callers
Method
as_ref
(&self)
src/types.rs:467
↓ 11 callers
Method
record
(&self, elapsed_us: u64)
src/metrics.rs:46
↓ 9 callers
Method
encode_parts_at
( &self, sender_created_at_unix_nanos: u64, )
src/types.rs:511
↓ 9 callers
Function
take_u64_le
(bytes: &[u8], cursor: &mut usize)
src/types.rs:1091
↓ 9 callers
Method
try_push
Push one Qlaster frame into the shared byte queue.
src/shm/ring.rs:109
↓ 8 callers
Method
notify
Increment the kernel counter; wakes any consumer epoll-waiting for readability. Returns Ok on transient saturation (counter at the cap) since the cons
src/shm/eventfd.rs:76
↓ 7 callers
Function
ensure_wire
(wire_version: u8, message_tag: u8, expected_tag: u8)
src/types.rs:61
↓ 7 callers
Function
read_framed
(stream: &mut R)
src/wire.rs:7
↓ 7 callers
Function
test_pubkey
(seed: u8)
tests/shm_flow.rs:38
↓ 7 callers
Function
unix_time_nanos
()
src/metrics.rs:6
↓ 7 callers
Function
write_framed
(stream: &mut W, payload: &[u8])
src/wire.rs:23
↓ 6 callers
Function
drain_one_update
(poll: F, timeout: Duration)
tests/shm_flow.rs:42
↓ 6 callers
Method
subscribe
( &mut self, account_pubkeys: Vec<solana_pubkey::Pubkey>, account_owners: Vec<solana_p
src/consumer/shm.rs:120
↓ 6 callers
Function
temp_ring_path
(name: &str)
src/shm/ring.rs:229
↓ 6 callers
Method
try_next_update
(&self)
src/consumer/shm.rs:199
↓ 5 callers
Method
maybe_cleanup_stale_slot
(&self, idx: usize, entry: &Arc<ManagedConnection>)
src/sender/mod.rs:260
↓ 5 callers
Function
setup_shm_consumer
Connect to a sender's SHM control socket, perform the SHM handshake (send an empty subscribe → receive ConnectionReadyShm + ring-eventfd over SCM_RIGH
src/consumer/shm.rs:55
↓ 5 callers
Function
take_exact
( bytes: &'a [u8], cursor: &mut usize, len: usize, context: &'static str, )
src/types.rs:1064
↓ 5 callers
Method
try_pop
Pop one frame from the queue, returning its body bytes without the length prefix. Returns `None` if the queue is empty or a close sentinel was consume
src/shm/ring.rs:192
↓ 4 callers
Function
decode_server_frame
(bytes: &[u8])
src/types.rs:355
↓ 4 callers
Method
is_empty
(&self)
src/types.rs:445
↓ 4 callers
Method
pass_fd
(&self)
src/shm/eventfd.rs:69
↓ 4 callers
Method
read_exact
(&self, len: usize)
src/shm/ring.rs:206
↓ 4 callers
Method
run
(self)
src/sender/mod.rs:655
↓ 4 callers
Function
shm_config
(label: &str)
tests/shm_flow.rs:29
↓ 4 callers
Function
take_u32_le
(bytes: &[u8], cursor: &mut usize)
src/types.rs:1084
↓ 4 callers
Function
wire_tag
(bytes: &[u8])
src/types.rs:338
↓ 4 callers
Method
with_request
(&self, req: &SubscriptionRequest)
src/sender/mod.rs:174
↓ 3 callers
Method
close
Mark the queue closed for the consumer by publishing a sentinel frame.
src/shm/ring.rs:140
↓ 3 callers
Function
configure_pipe_fd
(fd: RawFd)
src/shm/eventfd.rs:161
↓ 3 callers
Method
encode_parts
(&self)
src/types.rs:565
↓ 3 callers
Method
push_to_entry
( &self, entry: &Arc<ManagedConnection>, frame: OutboundFrame, metrics: &Qlast
src/sender/mod.rs:430
↓ 3 callers
Function
record_decode_and_enqueue
( metrics: &QlasterConsumerMetrics, read_elapsed_us: u64, decode_start: Instant, sender_create
src/consumer/shm.rs:301
↓ 3 callers
Method
slot_token
(&self)
src/consumer/shm.rs:190
↓ 3 callers
Function
take_u8
(bytes: &[u8], cursor: &mut usize)
src/types.rs:1080
↓ 3 callers
Method
with_slot_token
(mut self, slot_token: Option<SlotToken>)
src/types.rs:119
↓ 2 callers
Method
add
(&self, n: u64)
src/metrics.rs:87
↓ 2 callers
Method
as_slice
(&self)
src/types.rs:437
↓ 2 callers
Method
clone_bytes
(&self)
src/types.rs:453
↓ 2 callers
Function
drain_one_transaction
(poll: F, timeout: Duration)
tests/shm_flow.rs:58
↓ 2 callers
Method
is_closed
(&self)
src/shm/ring.rs:185
↓ 2 callers
Method
lookup_by_token
(&self, token: SlotToken)
src/sender/mod.rs:274
↓ 2 callers
Method
metrics
(&self)
src/sender/mod.rs:76
↓ 2 callers
Function
recv_frame_with_fd
Receive a length-prefixed payload that was sent with an attached fd via `send_frame_with_fd`. Returns the payload bytes and the (received-side duplica
src/shm/uds.rs:86
↓ 2 callers
Function
send_frame_with_fd
Send a length-prefixed `payload` and a single file descriptor in one `sendmsg` call. The receiver MUST call `recv_frame_with_fd` to retrieve the fd (a
src/shm/uds.rs:59
↓ 2 callers
Method
send_subscription
( &mut self, request: SubscriptionRequest, )
src/consumer/shm.rs:135
↓ 2 callers
Function
set_nosigpipe
Suppress SIGPIPE for writes on this socket. On Linux this is a no-op: each send already passes `MSG_NOSIGNAL`. On macOS/BSD that flag is not reliably
src/shm/uds.rs:31
↓ 2 callers
Function
setup_sender
( config: SenderConfig, master_updates: broadcast::Sender<AccountUpdate>, bloom_updates_tx: Option
src/sender/mod.rs:550
↓ 2 callers
Function
setup_sender_with_streams
( config: SenderConfig, master_updates: broadcast::Sender<AccountUpdate>, transaction_updates: Opt
src/sender/mod.rs:577
↓ 2 callers
Function
setup_sender_with_transactions
( config: SenderConfig, master_updates: broadcast::Sender<AccountUpdate>, transaction_updates: Opt
src/sender/mod.rs:559
↓ 2 callers
Function
take_array_32
(bytes: &[u8], cursor: &mut usize)
src/types.rs:1098
↓ 2 callers
Method
try_next_transaction
(&self)
src/consumer/shm.rs:203
↓ 2 callers
Method
wait
Block until the eventfd is signaled, returning the accumulated notify count since the last call.
src/shm/eventfd.rs:338
↓ 1 callers
Function
bind_listener
Bind the UDS socket and prepare the per-process shm directory.
src/sender/shm.rs:26
↓ 1 callers
Method
cleanup_if_same
(&self, slot_index: usize, connection_id: u64)
src/sender/mod.rs:246
↓ 1 callers
Function
decode_client_frame
(bytes: &[u8])
src/types.rs:344
↓ 1 callers
Function
decode_server_frame_owned
(bytes: Vec<u8>)
src/types.rs:371
↓ 1 callers
Function
decode_server_frame_owned_with_meta
( bytes: Vec<u8>, )
src/types.rs:387
↓ 1 callers
Method
dispatch_account_update
(&self, update: AccountUpdate, metrics: &QlasterSenderMetrics)
src/sender/mod.rs:315
↓ 1 callers
Method
dispatch_slot_update
(&self, update: SlotUpdate, metrics: &QlasterSenderMetrics)
src/sender/mod.rs:395
↓ 1 callers
Method
dispatch_transaction_update
( &self, update: TransactionUpdate, metrics: &QlasterSenderMetrics, )
src/sender/mod.rs:353
↓ 1 callers
Method
drain
Read and reset the counter. Returns `Ok(0)` if no wakeup is pending.
src/shm/eventfd.rs:106
↓ 1 callers
Function
drain_one_slot
(poll: F, timeout: Duration)
tests/shm_flow.rs:74
↓ 1 callers
Function
elapsed_since_unix_time_nanos_us
(start_nanos: u64)
src/metrics.rs:14
↓ 1 callers
Function
encode_account_frame
(update: &AccountUpdate)
src/sender/mod.rs:520
↓ 1 callers
Function
encode_slot_frame
(update: &SlotUpdate)
src/sender/mod.rs:540
↓ 1 callers
Function
encode_transaction_frame
(update: &TransactionUpdate)
src/sender/mod.rs:530
↓ 1 callers
Method
find_free_slot
(&self)
src/sender/mod.rs:289
↓ 1 callers
Function
handle_uds_connection
( state: Arc<SenderState>, mut stream: UnixStream, cfg: ShmTransportConfig, )
src/sender/shm.rs:81
↓ 1 callers
Method
inc
(&self)
src/metrics.rs:91
↓ 1 callers
Method
matches_account
(&self, update: &AccountUpdate)
src/sender/mod.rs:186
↓ 1 callers
Method
matches_transaction
(&self)
src/sender/mod.rs:214
↓ 1 callers
Method
open
Open an existing queue file.
src/shm/ring.rs:159
↓ 1 callers
Function
recvmsg_with_fd
# Safety `sock` must be a valid open socket fd that the caller does not close concurrently for the duration of the call.
src/shm/uds.rs:177
↓ 1 callers
Function
run_listener
( state: Arc<SenderState>, handle: ShmListenerHandle, )
src/sender/shm.rs:55
↓ 1 callers
Function
run_reader
( ring: Arc<ShmRingConsumer>, updates: Arc<ArrayQueue<AccountUpdate>>, transactions: Arc<ArrayQueu
src/consumer/shm.rs:216
↓ 1 callers
Method
send_ping
(&mut self)
src/consumer/shm.rs:177
↓ 1 callers
Function
sendmsg_with_fd
# Safety `sock` must be a valid open socket fd and `fd` a valid open fd, neither closed concurrently for the duration of the call.
src/shm/uds.rs:119
↓ 1 callers
Function
setup_shm_consumer_with_metrics
( uds_path: impl AsRef<Path>, metrics: Arc<QlasterConsumerMetrics>, )
src/consumer/shm.rs:61
↓ 1 callers
Function
should_attempt_lz4
(payload: &[u8])
src/types.rs:26
↓ 1 callers
Method
subscribe_transactions
(&mut self)
src/consumer/shm.rs:130
↓ 1 callers
Function
take_array_64
(bytes: &[u8], cursor: &mut usize)
src/types.rs:1104
↓ 1 callers
Method
touch_ping
(&self, ping: &PingRequest)
src/sender/mod.rs:305
↓ 1 callers
Method
try_next_slot
(&self)
src/consumer/shm.rs:207
↓ 1 callers
Function
unique_paths
(label: &str)
tests/shm_flow.rs:17
↓ 1 callers
Method
upsert_shm
SHM provisioning info returned to the UDS handshake on first install.
src/sender/mod.rs:454
↓ 1 callers
Method
with_transactions
(mut self)
src/types.rs:124
Function
account_payload_rejects_oversized_data
()
src/types.rs:1420
Function
account_update_carries_sender_timestamp_metadata
()
src/types.rs:1234
Function
account_update_roundtrip
()
src/types.rs:1217
Function
add_request_updates_existing_filter_contents
()
src/sender/mod.rs:705
Method
apply_request
(filter: &Arc<ArcSwap<SubscriptionFilter>>, request: &SubscriptionRequest)
src/sender/mod.rs:220
Function
async_wait_resolves_after_notify
()
src/shm/eventfd.rs:375
Method
avg_us
(&self)
src/metrics.rs:76
Method
capacity
(&self)
src/shm/ring.rs:100
Method
close
(&self)
src/transport.rs:51
next →
1–100 of 169, ranked by callers