rama-ttrpc 0.4.0

ttRPC (gRPC for low-memory environments) support for rama
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use bitflags::bitflags;

bitflags! {
    /// ttRPC frame flags. Undefined bits are reserved by the spec; like the Go
    /// implementation (containerd/ttrpc server.go/client.go, which only ever test
    /// individual bits with `&`), we ignore unknown bits instead of rejecting them.
    #[derive(Clone, Debug, Copy)]
    pub struct Flags: u8 {
        const REMOTE_CLOSED = 0x01;
        const REMOTE_OPEN = 0x02;
        const NO_DATA = 0x04;
    }
}