[][src]Module gchemol_gut::fs

Structs

BufReader

The BufReader<R> struct adds buffering to any reader.

BufWriter

Wraps a writer and buffers its output.

File

A reference to an open file on the filesystem.

Path

A slice of a path (akin to str).

PathBuf

An owned, mutable path (akin to String).

Traits

BufRead

A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.

Read

The Read trait allows for reading bytes from a source.

Seek

The Seek trait provides a cursor which can be moved within a stream of bytes.

Write

A trait for objects which are byte-oriented sinks.

Functions

read_file

Read file content into string

write_to_file

Write string to file