sark-http 0.27.0

HTTP wire types, semantics, codecs, and ownership invariants for Sark
Documentation
1
2
3
4
5
6
7
8
9
/// Date-header action for one encoded HTTP/1 response head.
#[derive(Clone, Copy)]
#[repr(u8)]
pub enum Date {
    Omit,
    Include,
}

const _: () = assert!(core::mem::size_of::<Date>() == core::mem::size_of::<bool>());