You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
errors {
#[doc = "Response not complete, first is protocol status and second is app status, see fastcgi protocol."]
EndRequest(protocol_status: ProtocolStatus, app_status: u32) {
description("End request error."),
display(match protocol_status {
ProtocolStatus::CantMpxConn => "This app can't multiplex [CantMpxConn]; AppStatus: {}",
ProtocolStatus::Overloaded => "New request rejected; too busy [OVERLOADED]; AppStatus: {}",
ProtocolStatus::UnknownRole => "Role value not known [UnknownRole]; AppStatus: {}",
_ => unreachable!(),
}, app_status),
}
}
But now, display not support first argument is string literal, so more complex expression of display is not work, is there a choice to support it?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For example:
But now,
display
not support first argument is string literal, so more complex expression ofdisplay
is not work, is there a choice to support it?The text was updated successfully, but these errors were encountered: