Crate ic_cose_types

Source

Re-exports§

pub use cose::format_error;

Modules§

cose
types

Enums§

OwnedRef
A smart pointer that can hold either a reference or an owned value

Constants§

MILLISECONDS

Statics§

ANONYMOUS

Traits§

CanisterCaller
A trait for interacting with canisters

Functions§

to_cbor_bytes
Converts a serializable object to CBOR-encoded bytes
validate_principals
Validates a set of principals
validate_str
Validates a string against naming conventions

Type Aliases§

BoxError
A type alias for a boxed error that is thread-safe and sendable across threads. This is commonly used as a return type for functions that can return various error types.