Skip to main content

decode_capability_table_with

Function decode_capability_table_with 

Source
pub fn decode_capability_table_with(
    bytes: &[u8],
    limits: &WireLimits,
) -> Result<Vec<CapDescriptor>>
Expand description

Decode a capability table under caller-supplied limits.

A strict peer can tighten max_caps and max_methods for a context that accepts only a few, narrowly-scoped capabilities.