Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricLBuehler/trc
/ functions
Functions
104 in github.com/EricLBuehler/trc
⨍
Functions
104
◇
Types & classes
8
↓ 32 callers
Method
as_ref
(&self)
src/lib.rs:1548
↓ 24 callers
Method
deref
(&self)
src/lib.rs:880
↓ 22 callers
Method
as_ptr
(this: &Self)
src/lib.rs:512
↓ 18 callers
Method
clone
(&self)
src/lib.rs:375
↓ 6 callers
Function
sum_value
(value: &AtomicUsize, offset: usize, ordering: Ordering)
src/lib.rs:886
↓ 5 callers
Function
sub_value
(value: &AtomicUsize, offset: usize, ordering: Ordering)
src/lib.rs:899
↓ 4 callers
Method
drive
(&self)
src/tests.rs:124
↓ 2 callers
Method
ge
(&self, other: &Self)
src/lib.rs:1664
↓ 2 callers
Method
upgrade
(&self)
src/lib.rs:2249
↓ 1 callers
Function
create_from_iterator_exact
( iterator: impl Iterator<Item = T> + ExactSizeIterator, )
src/lib.rs:2120
Method
as_fd
(&self)
src/lib.rs:1950
Method
as_handle
(&self)
src/lib.rs:1978
Method
as_raw_fd
(&self)
src/lib.rs:1992
Method
as_raw_handle
(&self)
src/lib.rs:1964
Method
as_raw_socket
(&self)
src/lib.rs:2006
Method
as_socket
(&self)
src/lib.rs:2020
Method
assume_init
(self)
src/lib.rs:822
Method
atomic_count
(this: &Self)
src/lib.rs:320
Method
borrow
(&self)
src/lib.rs:1560
Method
cause
(&self)
src/lib.rs:2034
Function
clone_arc
()
benches/benchmark.rs:49
Function
clone_rc
()
benches/benchmark.rs:54
Function
clone_trc
()
benches/benchmark.rs:44
Method
cmp
(&self, other: &Self)
src/lib.rs:1844
Function
criterion_benchmark
(c: &mut Criterion)
benches/benchmark.rs:9
Method
decrement_local_count
Decrements the local reference count of the provided `SharedTrc` associated with the provided pointer. If the local count is 1, then the atomic count
src/lib.rs:717
Method
default
()
src/lib.rs:1572
Function
deref_arc
()
benches/benchmark.rs:85
Function
deref_rc
()
benches/benchmark.rs:90
Function
deref_trc
()
benches/benchmark.rs:80
Method
description
(&self)
src/lib.rs:2037
Method
deserialize
(deserializer: D)
src/lib.rs:2060
Method
downcast
Attempts to downcast a `SharedTrc<dyn Any + Send + Sync>` into a concrete type. # Examples ``` use std::any::Any; use trc::Trc; use trc::SharedTrc;
src/lib.rs:347
Method
downgrade
(trc: &Self)
src/lib.rs:1446
Method
drop
(&mut self)
src/lib.rs:387
Method
eq
(&self, other: &Self)
src/lib.rs:1886
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/lib.rs:1584
Method
from
Convert a `SharedTrc` to a `Trc`. To prevent memory leaks, this function takes ownership of the `SharedTrc`. Unlike [`Weak::to_trc`], this function wi
src/lib.rs:416
Method
from_iter
(slice: impl Iterator<Item = T> + ExactSizeIterator)
src/lib.rs:2149
Method
from_raw
Converts a `*const T` into `SharedTrc`. The caller must uphold the below safety constraints. # Safety - The given pointer must be a valid pointer to
src/lib.rs:685
Method
from_trc
(trc: &Trc<T>)
src/lib.rs:265
Method
get_mut
(this: &mut Self)
src/lib.rs:1348
Method
gt
(&self, other: &Self)
src/lib.rs:1698
Method
hash
(&self, state: &mut H)
src/lib.rs:1637
Method
increment_local_count
Increments the local reference count of the provided `SharedTrc` associated with the provided pointer. # Safety - The provided pointer must have been
src/lib.rs:746
Method
into_inner
(this: Self)
src/lib.rs:1107
Method
into_raw
(this: Self)
src/lib.rs:533
Method
le
(&self, other: &Self)
src/lib.rs:1681
Method
local_count
(this: &Self)
src/lib.rs:1253
Method
lt
(&self, other: &Self)
src/lib.rs:1715
Function
multi_clone_arc
()
benches/benchmark.rs:66
Function
multi_clone_rc
()
benches/benchmark.rs:73
Function
multi_clone_trc
()
benches/benchmark.rs:59
Function
multi_deref_arc
()
benches/benchmark.rs:102
Function
multi_deref_rc
()
benches/benchmark.rs:109
Function
multi_deref_trc
()
benches/benchmark.rs:95
Function
multi_thread_arc
()
benches/benchmark.rs:134
Function
multi_thread_arc_long
()
benches/benchmark.rs:204
Function
multi_thread_arc_medium
()
benches/benchmark.rs:169
Function
multi_thread_arc_super
()
benches/benchmark.rs:239
Function
multi_thread_trc
()
benches/benchmark.rs:116
Function
multi_thread_trc_long
()
benches/benchmark.rs:186
Function
multi_thread_trc_medium
()
benches/benchmark.rs:151
Function
multi_thread_trc_super
()
benches/benchmark.rs:221
Method
ne
(&self, other: &Self)
src/lib.rs:1904
Method
new
(value: T)
src/lib.rs:552
Method
new_cyclic
(data_fn: F)
src/lib.rs:613
Method
new_uninit
()
src/lib.rs:585
Method
new_uninit_slice
(len: usize)
src/lib.rs:774
Method
partial_cmp
(&self, other: &Self)
src/lib.rs:1733
Method
pin
(data: T)
src/lib.rs:1024
Method
ptr_eq
(this: &Self, other: &Self)
src/lib.rs:496
Function
readme_multi_trc
()
src/tests.rs:161
Function
readme_multi_weak
()
src/tests.rs:186
Function
readme_single_trc
()
src/tests.rs:153
Function
readme_single_weak
()
src/tests.rs:174
Method
serialize
(&self, serializer: S)
src/lib.rs:2070
Method
source
(&self)
src/lib.rs:2040
Function
test_coerce_unsized
()
src/tests.rs:236
Function
test_coerce_unsized_sharedtrc
()
src/tests.rs:273
Function
test_dispatchfromdyn_sharedtrc
()
src/tests.rs:312
Function
test_dyn
()
src/tests.rs:116
Function
test_dyn2
()
src/tests.rs:207
Function
test_ex1
()
src/tests.rs:331
Function
test_ex2
()
src/tests.rs:339
Function
test_ex3
()
src/tests.rs:354
Function
test_ex4
()
src/tests.rs:366
Function
test_from_slice
()
src/tests.rs:145
Function
test_multithread1
()
src/tests.rs:49
Function
test_multithread2
()
src/tests.rs:75
Function
test_multithread_weak
()
src/tests.rs:101
Function
test_rc_issue_uninit
()
src/tests.rs:199
Function
test_receiver
()
src/tests.rs:254
Function
test_receiver_sharedtrc
()
src/tests.rs:292
Function
test_refcount
()
src/tests.rs:33
Function
test_singlethreaded
()
src/tests.rs:11
Function
test_singlethreaded2
()
src/tests.rs:25
Function
test_ub_weak_as_ptr
()
src/tests.rs:225
Function
test_weak
()
src/tests.rs:88
Function
test_weak_drop
()
src/tests.rs:134
next →
1–100 of 104, ranked by callers