Skip to main content

read_carrier

Function read_carrier 

Source
pub fn read_carrier(exchange: &Exchange) -> Option<AuthenticatedPrincipal>
Expand description

Read the typed carrier back off the exchange, cloning it out.

Returns None when the key is absent or the stored value is not an AuthenticatedPrincipal (wrong-type values fail the downcast).