Path:
outer_doc_attrs.rs
Lines:
26
Non-empty lines:
23
Non-empty lines covered with requirements:
23 / 23 (100.0%)
Functions:
5
Functions covered by requirements:
5 / 5 (100.0%)
1
#[doc = "Trait definition with"]
2
#[doc = "@relation(RUST-OUTER-DOC-ATTR)"]
3
#[doc = "Description: behavioral interface contract"]
4
pub trait Processor {
5
#[doc = "Associated type with"]
6
#[doc = "@relation(RUST-OUTER-DOC-ATTR)"]
7
#[doc = "Random: output data type"]
8
type Output;
9
10
#[doc = "Associated const with"]
11
#[doc = "@relation(RUST-OUTER-DOC-ATTR)"]
12
#[doc = "Text: maximum buffer capacity"]
13
const MAX_SIZE: usize;
14
15
#[doc = "Trait method with"]
16
#[doc = "@relation(RUST-OUTER-DOC-ATTR)"]
17
#[doc = "Words: processing operation handler"]
18
fn process(&self, input: &str) -> Self::Output;
19
20
#[doc = "Default method with"]
21
#[doc = "@relation(RUST-OUTER-DOC-ATTR)"]
22
#[doc = "Description: validation check routine"]
23
fn validate(&self) -> bool {
24
true
25
}
26
}