Crate borderless

Crate borderless 

Source

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.
BlockIdentifier
Type used to identify blocks.
BorderlessId
The borderless-id used to identify participants in the borderless-network.
ContractId
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.
ExternalId
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.
InvalidBlockIdentifier
InvalidTxIdentifier
TxIdentifier
Type used to identify transactions.
Uuid
A Universally Unique Identifier (UUID).

Traits§

CallMethod
Context
Provides the context method for Result.
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>

Attribute Macros§

action
agent
contract
schedule

Derive Macros§

State