keybase-protocol 0.1.1

Provides the Keybase types defined in the Keybase AVDL Protocol files for Rust.
Documentation
// Namespace: "keybase.1"
// Protocol: "ctl"
#![allow(dead_code)]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(unused_imports)]
use serde::{Serialize, Deserialize};
use serde_repr::{Deserialize_repr, Serialize_repr};use super::*;

use super::common::*;
#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum ExitCode {
  Ok_0,
  Notok_2,
  Restart_4,
}

#[derive(Serialize_repr, Deserialize_repr, Debug, Hash, PartialEq, Eq)]
#[repr(u8)]
pub enum DbType {
  Main_0,
  Chat_1,
  Fs_block_cache_2,
  Fs_block_cache_meta_3,
  Fs_sync_block_cache_4,
  Fs_sync_block_cache_meta_5,
}

pub struct DbKey {
  pub dbType: DbType,
  pub objType: i32,
  pub key: Option<String>,
}

pub type DbValue = String;