MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / fmt

Method fmt

crates/openshell-supervisor-network/src/l7/rest.rs:1639–1645  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

1637
1638impl fmt::Display for SigV4PayloadMode {
1639 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1640 match self {
1641 Self::SignBody => write!(f, "sign_body"),
1642 Self::UnsignedPayload => write!(f, "unsigned_payload"),
1643 Self::StreamingUnsignedTrailer => write!(f, "streaming_unsigned_trailer"),
1644 }
1645 }
1646}
1647
1648/// Auto-detect the payload signing mode from the client's original headers.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected