Skip to main content

Crate armour_core

Crate armour_core 

Source

Re-exports§

pub use error::ArmourError;
pub use fuid::Fuid;
pub use fuid::OptFuid;
pub use id64::Id64;
pub use id64::OptId64;
pub use key_type::KeyScheme;
pub use key_type::KeyType;

Modules§

dyn_types
Compatibility module for armour-derive generated code paths.
enc
error
fuid
id64
key_part
key_type
num_ops
persist
record_status
zbase

Macros§

const_hasher
key should be Base64Url decoded 56 bytes long (~ 75 chars)
const_hasher_or
Like const_hasher!, but in debug builds falls back to $default if the env var is not set.
hasher
key should be Base64Url decoded 56 bytes long (~ 75 chars)

Structs§

EnumType
SimpleEnumType
StructType
named structs, unnamed structs and tuples если нет названий полей в структуре, то это неименованная структура или кортеж.

Enums§

Fields
ScalarTyp
Leaf schema types — no nested Typ. Copy, const-constructible, shared by Typ (compile-time) and SchemaTyp (runtime).
SchemaFields
SchemaTyp
Owned runtime mirror of Typ. Reuses ScalarTyp. Deserializable (impl Rapira — in the rapira crate, Plan 2).
Typ

Constants§

ID_ENC_FLAG

Traits§

GetType

Type Aliases§

IdStr
Result

Attribute Macros§

armour_metrics
Adds metrics tracking to the function.

Derive Macros§

GetType
#[get_type(flatten)] for unnamed structs#[get_type(with_type = Type)] for named struct fields#[get_type(unimplemented)] for named struct fields#[get_type(custom("name", &[Typ::Bool, Typ::Str]))] for named struct fields