pub enum Pattern {
Ubiquitous,
Event,
State,
Optional,
Unwanted,
}Expand description
The five EARS patterns.
Variants§
Ubiquitous
THE SYSTEM SHALL <response> — always true.
Event
WHEN <trigger>, THE SYSTEM SHALL <response> — event driven.
State
WHILE <state>, THE SYSTEM SHALL <response> — state driven.
Optional
WHERE <feature is included>, THE SYSTEM SHALL <response> — optional feature.
Unwanted
IF <undesired condition>, THE SYSTEM SHALL <response> — unwanted behaviour.
Implementations§
Trait Implementations§
impl Copy for Pattern
impl Eq for Pattern
impl StructuralPartialEq for Pattern
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnsafeUnpin for Pattern
impl UnwindSafe for Pattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more