[−][src]Module skellige::prelude
Modules
blake2 | An implementation of the BLAKE2 hash functions. |
fmt | Utilities for formatting and printing |
fs | Filesystem manipulation operations. |
git | |
gzip | |
io | Traits, helpers, and type definitions for core I/O functionality. |
libc | libc - Raw FFI bindings to platforms' system libraries |
macros | |
net | |
str | Unicode string slices. |
sys | |
tar |
Macros
cfgblock | Provides the ability to define |
defer | Ensure the given closure is executed once the surrounding scope closes despite panics.
Inspired by Golang's |
lazy_static |
Structs
BufReader | The |
ColorString | Wrapper around the String type to provide colors and styles. |
Defer | |
File | A reference to an open file on the filesystem. |
OpenOptions | Options and flags which can be used to configure how a file is opened. |
OsStr | Borrowed reference to an OS string (see |
OsString | A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings. |
Path | A slice of a path (akin to |
PathBuf | An owned, mutable path (akin to |
Regex | A compiled regular expression for matching Unicode strings. |
Enums
Color |
|
Component | A single component of a path. |
FileError | |
FuError | Define common error wrapper type |
IterError | An error indicating something went wrong with an iterator operation |
OsError | |
PathError | |
StringError | |
UserError |
Constants
TERM_COLOR | Environment variable name for enabling/disabling color |
Traits
BufRead | A |
Colorable |
|
IteratorExt | Iterator adaptors to simplify some operations |
LazyStatic | Support trait for enabling a few common operation on lazy static values. |
MetadataExt | Unix-specific extensions to |
OptionExt | |
PathColorExt | |
PathExt | |
PermissionsExt | Unix-specific extensions to |
Read | The |
Seek | The |
StringExt | |
ToStringExt | |
Write | A trait for objects which are byte-oriented sinks. |
__Deref | Used for immutable dereferencing operations, like |
Functions
assert_iter_eq | Assert that the elements of the given iterables are equal and |
defer | Ensure the given closure is executed once the surrounding scope closes despite panics.
Inspired by Golang's |
initialize | Takes a shared reference to a lazy static and initializes it if it has not been already. |
Type Definitions
FuResult |
|