Lists
tokio
1.44.1
Lists
Aliased type
Fields
0
Methods
const_new
get_mut
lock
new
try_lock
Trait Implementations
Debug
In tokio::
util::
idle_
notified_
set
Structs
EntryInOneOfTheLists
IdleNotifiedSet
ListEntry
ListsInner
Enums
List
Functions
move_to_new_list
Type Aliases
LinkedList
Lists
tokio
::
util
::
idle_notified_set
Type Alias
Lists
Copy item path
Settings
Help
Summary
Source
type Lists<T> =
Mutex
<
ListsInner
<T>>;
Aliased Type
§
struct Lists<T>(
Mutex
<
ListsInner
<T>>);
Fields
§
§
0:
Mutex
<
ListsInner
<T>>
Implementations
Source
§
impl<T>
Mutex
<T>
Source
pub(crate) fn
new
(t: T) ->
Mutex
<T>
Source
pub(crate) const fn
const_new
(t: T) ->
Mutex
<T>
Source
pub(crate) fn
lock
(&self) ->
MutexGuard
<'_, T>
Source
pub(crate) fn
try_lock
(&self) ->
Option
<
MutexGuard
<'_, T>>
Source
pub(crate) fn
get_mut
(&mut self) ->
&mut T
Trait Implementations
Source
§
impl<T:
Debug
+ ?
Sized
>
Debug
for
Mutex
<T>
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more