Behavior semantics for `ArrayDeque`. `ArrayDeque` provides two different behaviors, `Saturating` and `Wrapping`, determining whether to remove existing element automatically when pushing to a full deque. The behavior is indicated by a marker type parameter of `ArrayDeque`, which defaults to `Saturating`. ## Saturating Pushing any element when `ArrayDeque` is full will directly return an `Err(C
| 39 | |
| 40 | /// Marker trait for indicating behaviors of `ArrayDeque`. |
| 41 | pub trait Behavior {} |
| 42 | |
| 43 | /// Behavior for `ArrayDeque` that specifies saturating write semantics. |
| 44 | pub struct Saturating; |
nothing calls this directly
no outgoing calls
no test coverage detected