Coherence requires that a program have at most one implementation of a given trait for a given type. Rust enforces it by the orphan rule: a crate may write impl Trait for Type only if the trait or the type is defined in that crate.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Coherence, orphan rule?
又称: coherence (orphan rule)