Crate leaf_protocol_types

Source
Expand description

Core types in the Leaf specification

Structs§

Blob
ComponentData
The data that makes up a component.
ComponentEntry
Digest
Wrapper around an Iroh [Hash] that implements [BorshSerialize] and [BorshDeserialize].
EncryptionAlgorithm
An encryption algorithm.
Entity
EntityPath
An entity path.
ExactLink
Similar to a [types::Link], but with a resolved namespace and subspace.
KeyResolver
A key-resolver algorithm.
Link
Schema
A [Component][crate::Component] schema.
Snapshot

Enums§

BorshSchema
A borsh schema describing the data format of a [Component][crate::Component].
ComponentKind
The kind of component data.
KeyResolverKind
A key-resolver algorithm.
PathSegment
A segment in an entity Path.

Traits§

HasBorshSchema

Type Aliases§

NamespaceId
NamespaceSecretKey
SubspaceId
SubspaceSecretKey