dirs_
sys
0.4.1
In dirs_
sys::
xdg_
user_
dirs
dirs_sys
::
xdg_user_dirs
Function
read_all
Copy item path
source
fn read_all(path: &
Path
) ->
Result
<
Vec
<
u8
>>
Expand description
Reads the entire contents of a file into a byte vector.