ruvel 0.11.1

The laravel alternative framework with rust performance
Documentation
1
2
3
4
5
6
7
8
/// Parsing outcome distinguishing complete frames from fragmented TCP reads.
#[derive(Debug, PartialEq, Eq)]
pub enum Status<T> {
    /// A complete frame was parsed (`(request, bytes_consumed)`).
    Complete(T, usize),
    /// More bytes are needed from the socket before parsing can finish.
    Incomplete,
}