Skip to main content

box_from_wire

Function box_from_wire 

Source
pub fn box_from_wire(wire: WireCap) -> Result<Box<Cap>, WireConvertError>
Expand description

Box-ed convenience: produce a Box<Cap> from an archived WireCap. Used by the guest’s put_cap RPC handler to deposit the decoded cap into its directory.