Re-exports§
pub use borderless_hash as hash;
pub use borderless_pkg as pkg;
Modules§
- agents
- collections
- common
- contracts
- events
- http
- Definition of generic models used throughout different APIs
- lazy
- log
- prelude
- serialize
- time
Macros§
- debug
- ensure
- Return early with an error if a condition is not satisfied.
- error
- info
- log
- new_
error - Construct an ad-hoc error from a string or existing non-
anyhow
error value. - println
- trace
- warn
Structs§
- AgentId
- An agent-id used to identify software-agents in the borderless-ecosystem.
- Block
Identifier - Type used to identify blocks.
- Borderless
Id - The borderless-id used to identify participants in the borderless-network.
- Contract
Id - A contract-id used to itentify different SmartContracts in the borderless-ecosystem.
- Did
- A decentralized-id used to itentify different assets and documents in the borderless-ecosystem.
- Error
- The
Error
type, a wrapper around a dynamic error type. - External
Id - An external-id used to identify external entities, that are not in the borderless-network.
- FlowId
- A flow-id used to identify
Flows
in a contract. - Invalid
Block Identifier - Invalid
TxIdentifier - TxIdentifier
- Type used to identify transactions.
- Uuid
- A Universally Unique Identifier (UUID).
Traits§
- Call
Method - Context
- Provides the
context
method forResult
. - Participant
Functions§
- aid_
prefix - Check weather or not an array of bytes contains the prefix of an
AgentId
. - bid_
prefix - Check weather or not an array of bytes contains the prefix of a
BorderlessId
. - cid_
prefix - Check weather or not an array of bytes contains the prefix of a
ContractId
. - did_
prefix - Check weather or not an array of bytes contains the prefix of a
Did
. - eid_
prefix - Check weather or not an array of bytes contains the prefix of an
ExternalId
. - fid_
prefix - Check weather or not an array of bytes contains the prefix of a
FlowId
.
Type Aliases§
- Result
Result<T, Error>