Macros§
- debug
log
- Constructs an event at the debug level.
- error
log
- Constructs an event at the error level.
- info
log
- Constructs an event at the info level.
- trace
log
- Constructs an event at the trace level.
- warn
log
- Constructs an event at the warn level.
Structs§
- Dism
Custom Property dism
and Windows - Dism
Feature Info dism
and Windows - IpAddress
net
- LFMap
tokio
- Lock-Free Map
- RawDism
Custom Property dism
and Windows - RawDism
Feature Info dism
and Windows
Enums§
- CLog
Level log
- Dism
LogLevel dism
and Windows - Dism
Package Feature State dism
and Windows - Dism
Package Identifier dism
and Windows - Dism
Restart Type dism
and Windows - Serv
Status winapi
and Windows - service status
Statics§
- DISM_
ONLINE_ IMAGE dism
and Windows
Functions§
- Dism
Close Session dism
and Windows - Dism
Delete dism
and Windows - Dism
Enable Feature dism
and Windows - Dism
GetFeature Info dism
and Windows - Dism
GetLast Error Message dism
and Windows - Dism
Initialize dism
and Windows - Dism
Open Session dism
and Windows - Dism
Shutdown dism
and Windows - base64_
decode crypto
- decode data with base64
- base64_
encode crypto
- encode data with base64
- block_
download_ file net
- send get request save to file
- block_
download_ json net
- send get request to get content as json
- block_
download_ string net
- send get request to get content as string
- bzip2_
cmpr dc
- compress data with bzip2
- bzip2_
decmpr dc
- decompress data with bzip2
- clap_
help_ styles cmd
- config the style of clap lib help info
- copy_
file - copy a file to new position
- cpu_
is_ enable_ virtual x86-64 and Windows - current_
is_ admin winapi
and Windows - default_
console_ log log
- only log to console
- default_
file_ log log
- only log to file
- default_
log log
- log to console and file
- dir_
is_ exist - judge whether a file is exists
- download_
file net
- send get request save to file
- download_
json net
- send get request to get content as json
- download_
string net
- send get request to get content as string
- enable_
virtual_ terminal winapi
and Windows - allow cmd show color and so on…
- ensure_
file_ exist - ensure a file exist,if not exist,create it!
- file_
ext - get extension name of a file
- file_
is_ exist - judge whether a file is exists
- file_
name - get file name of a path
- file_
size - get file size
- frame_
stream_ combined tokio
- combined sender/receiver frame stream to TcoStream.
- frame_
stream_ split tokio
- split a Tcpstream to sender/receiver frame stream.
- get_
process_ id_ by_ name winapi
and Windows - get process id by process name on windows
- list_
ip_ address net
- get all ip address
- md5
crypto
- get md5 of data
- move_
file - copy a file to new position
- msi_
get_ version winapi
and Windows - get the installed msi package version
- msi_
install winapi
and Windows - install msi package
- proxy_
tcpstream tokio
- Copy data mutually between two Tcpstreams.
- runas
winapi
and Windows - run the program with administrator privileges
- sc_
query winapi
and Windows - query system service status
- sha256
crypto
- get sha256 of data
Type Aliases§
- Dism
Session dism
and Windows - Frame
Receiver tokio
- Frame
Sender tokio