Struct ockam_core::access_control::AllowSourceAddress
source · pub struct AllowSourceAddress(pub Address);Expand description
An Access Control type that allows messages from the given source address to go through Note that it’s based on source address, not a first hop of return_route, which may be different in some scenarios
Tuple Fields§
§0: AddressTrait Implementations§
source§impl Debug for AllowSourceAddress
impl Debug for AllowSourceAddress
source§impl IncomingAccessControl for AllowSourceAddress
impl IncomingAccessControl for AllowSourceAddress
Return true if the message is allowed to pass, and false if not.