MCPcopy Create free account
hub / github.com/actix/examples / as_str

Method as_str

forms/form/src/main.rs:91–93  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

89
90 impl BodyTest for Bytes {
91 fn as_str(&self) -> &str {
92 std::str::from_utf8(self).unwrap()
93 }
94 }
95
96 #[actix_web::test]

Callers 8

send_invitationFunction · 0.80
handleMethod · 0.80
handleMethod · 0.80
forwardFunction · 0.80
forward_reqwestFunction · 0.80
get_error_responseFunction · 0.80
get_error_responseFunction · 0.80
rpc_handlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected