File tree 2 files changed +5
-3
lines changed
rust-runtime/aws-smithy-http-server/src/logging
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 34
34
35
35
/// An extension trait for applying [`InstrumentLayer`] to all operations.
36
36
pub trait InstrumentExt : Pluggable < InstrumentPlugin > {
37
- /// Applies [`InstrumentLayer`] to all operations. See [`InstrumentOperation`](super::InstrumentOperation) for more
38
- /// information.
37
+ /// Applies an [`InstrumentLayer`] to all operations which respects the [@sensitive] trait given on the input and
38
+ /// output models. See [`InstrumentOperation`](super::InstrumentOperation) for more information.
39
+ ///
40
+ /// [@sensitive]: https://awslabs.github.io/smithy/2.0/spec/documentation-traits.html#sensitive-trait
39
41
fn instrument ( self ) -> Self :: Output
40
42
where
41
43
Self : Sized ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ pub const REDACTED: &str = "{redacted}";
30
30
pub trait Sensitivity {
31
31
/// The [`MakeDebug`] and [`MakeDisplay`] for the request [`HeaderMap`] and [`Uri`].
32
32
type RequestFmt : for < ' a > MakeDebug < & ' a HeaderMap > + for < ' a > MakeDisplay < & ' a Uri > ;
33
- /// The [`MakeDebug`] and [`MakeDisplay`] for the response [`HeaderMap`] and [`Uri `].
33
+ /// The [`MakeDebug`] and [`MakeDisplay`] for the response [`HeaderMap`] and [`StatusCode `].
34
34
type ResponseFmt : for < ' a > MakeDebug < & ' a HeaderMap > + MakeDisplay < StatusCode > ;
35
35
36
36
/// Returns the [`RequestFmt`](Sensitivity::RequestFmt).
You can’t perform that action at this time.
0 commit comments