Skip to main content
try_lock_shared
cargo
1.102.0-nightly
(8eb778d04 2026-11-12)
In cargo::
util::
flock::
imp
cargo
::
util
::
flock
::
imp
Function
try_
lock_
shared
Copy item path
Source
pub fn try_lock_shared(file: &
File
) ->
Result
<
()
,
TryLockError
>