We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
snafu(visibility)
1 parent 5f6c7c1 commit 74f75b8Copy full SHA for 74f75b8
portmapper/src/pcp/protocol/response.rs
@@ -130,6 +130,7 @@ pub struct Response {
130
span_trace: n0_snafu::SpanTrace,
131
})]
132
#[derive(Debug, Snafu)]
133
+#[snafu(visibility(pub(crate)))]
134
pub enum DecodeError {
135
/// Request is too short or is otherwise malformed.
136
#[snafu(display("Response is malformed"))]
@@ -168,6 +169,7 @@ impl PartialEq for DecodeError {
168
169
impl Eq for DecodeError {}
170
171
#[derive(Debug, Snafu, PartialEq, Eq)]
172
173
pub enum Error {
174
#[snafu(transparent)]
175
DecodeError { source: DecodeError },
0 commit comments