Skip to main content

Crate rostra_core

Crate rostra_core 

Source

Re-exports§

pub use crate::event::Event;
pub use crate::id::ExternalEventId;

Modules§

event
id
Version of array_type_define! that does not derive Serde
macros

Macros§

array_type_define
array_type_define_min_max
array_type_define_public
array_type_impl_base32_str
array_type_impl_base64_str
array_type_impl_serde
array_type_impl_zero_default

Structs§

ContentHash
Blake3 hash of a payload
EventId
MsgLen
Length of a message, encoded in a fixed-size way
NullableShortEventId
ShortEventId
ShortEventId is short (16B) because it is always used in a context of an existing id::RostraId so even though client might potentially grind collisions (64-bits of resistance) it really gains them nothing.
Timestamp
Timestamp as seconds since Unix epoch
TimestampFixed
Timestamp encoded in fixed-sized way