sark-http 0.40.0

HTTP wire types, semantics, codecs, and ownership invariants for Sark
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! No CPU on this target admits an accelerated backend.

/// Uninhabited: no admitted backend exists, so folding uses the table default.
#[derive(Clone, Debug)]
pub(super) enum Enabled {}

impl Enabled {
    pub(super) fn admit() -> Option<Self> {
        None
    }

    pub(super) fn update(&self, _value: u32, _bytes: &[u8]) -> u32 {
        match *self {}
    }
}