pub fn grant(layout: &impl Layout<PublicKey>, peer: PublicKey) -> Grant
Returns the grant a node gives peer under layout.
peer
layout
The peer may subscribe to anything, and publish only under its scope in layout.
scope