Expand description
Re-export common types
Re-exports
pub use super::*;
Modules
Structs
- newtype around bytes to print/parse [[abe]] text
- newtype around bytes to print/parse b64 (url-safe no-padding)
- Variable flags used in transit
- Arc around the byte repr NetPkt
- Variable fields in a crate::NetPkt used in point exchange
- Rust enum repr of a NetPkt
- Byte repr of a NetPkt
- A static packet formatter similar to DEFAULT_PKT without using ABE expressions.
- Pkt flag indicating its type.
Enums
Traits
- Utilities for NetPkt
- General trait for accessing point field.
- Directly access a Point’s domain, group, links, publickey, etc.
Functions
- copy
val
into array of N bytes prepending 0’s as needed. panic if val > N - [Thread Local]: get the ‘default’ domain. from set_domain || $LK_DOMAIN ||
[0;16]
- [Thread Local]: get the ‘default’ group. from set_group || $LK_GROUP ||
[#:pub]
- current time as big endian u64 microseconds since epoch
- set the result for domain
Type Aliases
- Alias for
AB<[u8;16]>
- Alias for
B64<[u8;32]\>
- Blake3 hash of the packet content. Alias for
B64<[u8;32]\>
- Heap allocated repr of a NetPkt.
- Taproot Schnorr publickey. Alias for
B64<[u8;32]>
- Explicitly Space bytes (analogous to [str])
- Owned Space bytes (analogous to String)
- A Big endian u64 of microseconds since EPOCH
- Alias for
AB<[u8;16]>