Crate object_rainbow

Crate object_rainbow 

Source

Re-exports§

pub use self::enumkind::Enum;

Modules§

enumkind
hashed
length_prefixed
numeric

Macros§

anyhow
Construct an ad-hoc error from a string or existing non-anyhow error value.
error_fetch
Construct Error::Fetch.
error_parse
Construct Error::Parse.

Structs§

Address
Address within a PointInput.
HackNiche
Hash
Input
NicheForUnsized
NoNiche
ObjectHashes
OneNiche
OptionalHash
Point
PointMut
RawPoint
RawPointInner
ReflessInput
SomeNiche
Tags
ZeroNiche
ZeroNoNiche

Enums§

Error
Errors encountered during fetching an object. Mostly related to parsing.

Constants§

HASH_SIZE
SHA-256 hash size in bytes.

Traits§

AsAny
Trait for contextually using Any. Can itself be implemented for non-'static and ?Sized types, and is dyn-compatible.
Equivalent
Implemented if both types have the exact same layout. This implies having the same MaybeHasNiche::MnArray.
Fetch
FetchBytes
FullHash
Inline
MaybeHasNiche
Niche
Object
Output
Parse
ParseInline
ParseInput
ParseSlice
ParseSliceExtra
ParseSliceRefless
PointInput
PointVisitor
ReflessInline
ReflessObject
Resolve
Something that resolve Addresses to ByteNodes.
Singular
Size
SizeExt
Tagged
ToOutput
Topological
Topology
Traversible

Type Aliases§

AutoEnumNiche
AutoNiche
ByteNode
Returned by Resolve and FetchBytes. Represents traversal through the object graph.
FailFuture
Fallible future type yielding either T or Error.
Result
TopoVec

Derive Macros§

Enum
Inline
MaybeHasNiche
Object
Parse
ParseAsInline
ParseInline
ReflessInline
ReflessObject
Size
Tagged
ToOutput
Topological