MCPcopy Create free account
hub / github.com/RustCrypto/SSH / derive_for_fields

Function derive_for_fields

ssh-derive/src/decode.rs:98–131  ·  view source on GitHub ↗

Generate decoding code for the given fields. This will also handle length-prefixed containers if it is marked as such.

(
    fields: &syn::Fields,
    output_type_or_variant: TokenStream,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

lenMethod · 0.80
iterMethod · 0.80
as_refMethod · 0.45