hadris-io 1.0.1

No-std I/O traits and utilities for the Hadris filesystem crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! No-std compatible shared I/O types.

/// Enumeration of possible methods to seek within an I/O object.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum SeekFrom {
    /// Sets the offset to the provided number of bytes.
    Start(u64),
    /// Sets the offset to the size of this object plus the specified number of bytes.
    End(i64),
    /// Sets the offset to the current position plus the specified number of bytes.
    Current(i64),
}