gitoid 0.3.0

An experimental implementation of gitoids in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Status codes returned for functions which signal errors with `c_int`.

/// Status codes for functions returning `c_int` to signal errors.
pub(crate) enum Status {
    /// Unknown error that shouldn't happen.
    UnexpectedError = -1,
    /// The buffer passed in is null.
    BufferIsNull = -2,
    /// The buffer passed in is too small to put data into.
    BufferTooSmall = -3,
    /// Writing to the provided buffer failed.
    BufferWriteFailed = -4,
}