Skip to main content

BoundaryKind

Trait BoundaryKind 

Source
pub trait BoundaryKind:
    Debug
    + Send
    + Sync
    + 'static { }
Expand description

A boundary reason. Every domain defines its own.

The 'static bound means boundary kinds must be owned — they cannot borrow from the computation that produced them. Use owned String instead of &str, clone data you need to carry. This keeps boundary reasons self-contained and safe to propagate across thread boundaries.

Implementors§