pub trait System:
CaughtSignals
+ Chdir
+ Clock
+ Close
+ Debug
+ Dup
+ Exec
+ Exit
+ Fcntl
+ Fork
+ Fstat
+ GetCwd
+ GetPid
+ GetPw
+ GetRlimit
+ GetUid
+ IsExecutableFile
+ Isatty
+ Open
+ Pipe
+ Read
+ Seek
+ Select
+ SendSignal
+ SetPgid
+ SetRlimit
+ ShellPath
+ Sigaction
+ Sigmask
+ Signals
+ Sysconf
+ TcGetPgrp
+ TcSetPgrp
+ Times
+ Umask
+ Wait
+ Write { }👎Deprecated since 0.11.0: use smaller, more specialized traits declared in the
system module insteadExpand description
API to the system-managed parts of the environment.
The System trait defines a collection of methods to access the underlying
operating system from the shell as an application program. There are two
substantial implementors for this trait: RealSystem and
VirtualSystem. Another implementor is SharedSystem, which wraps a
System instance to extend the interface with asynchronous methods.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.