Crate cfun

Source

Macros§

debuglog
Constructs an event at the debug level.
errorlog
Constructs an event at the error level.
infolog
Constructs an event at the info level.
tracelog
Constructs an event at the trace level.
warnlog
Constructs an event at the warn level.

Structs§

DismCustomPropertydism and Windows
DismFeatureInfodism and Windows
IpAddressnet
LFMaptokio
Lock-Free Map
RawDismCustomPropertydism and Windows
RawDismFeatureInfodism and Windows

Enums§

CLogLevellog
DismLogLeveldism and Windows
DismPackageFeatureStatedism and Windows
DismPackageIdentifierdism and Windows
DismRestartTypedism and Windows
ServStatuswinapi and Windows
service status

Statics§

DISM_ONLINE_IMAGEdism and Windows

Functions§

DismCloseSessiondism and Windows
DismDeletedism and Windows
DismEnableFeaturedism and Windows
DismGetFeatureInfodism and Windows
DismGetLastErrorMessagedism and Windows
DismInitializedism and Windows
DismOpenSessiondism and Windows
DismShutdowndism and Windows
base64_decodecrypto
decode data with base64
base64_encodecrypto
encode data with base64
block_download_filenet
send get request save to file
block_download_jsonnet
send get request to get content as json
block_download_stringnet
send get request to get content as string
bzip2_cmprdc
compress data with bzip2
bzip2_decmprdc
decompress data with bzip2
clap_help_stylescmd
config the style of clap lib help info
copy_file
copy a file to new position
cpu_is_enable_virtualx86-64 and Windows
current_is_adminwinapi and Windows
default_console_loglog
only log to console
default_file_loglog
only log to file
default_loglog
log to console and file
dir_is_exist
judge whether a file is exists
download_filenet
send get request save to file
download_jsonnet
send get request to get content as json
download_stringnet
send get request to get content as string
enable_virtual_terminalwinapi 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_combinedtokio
combined sender/receiver frame stream to TcoStream.
frame_stream_splittokio
split a Tcpstream to sender/receiver frame stream.
get_process_id_by_namewinapi and Windows
get process id by process name on windows
list_ip_addressnet
get all ip address
md5crypto
get md5 of data
move_file
copy a file to new position
msi_get_versionwinapi and Windows
get the installed msi package version
msi_installwinapi and Windows
install msi package
proxy_tcpstreamtokio
Copy data mutually between two Tcpstreams.
runaswinapi and Windows
run the program with administrator privileges
sc_querywinapi and Windows
query system service status
sha256crypto
get sha256 of data

Type Aliases§

DismSessiondism and Windows
FrameReceivertokio
FrameSendertokio