Struct ockam_core::access_control::AllowOnwardAddress
source · pub struct AllowOnwardAddress(pub Address);
Expand description
An Access Control type that allows messages to the given onward address to go through Note that onward and destination addresses are different in some cases
Tuple Fields§
§0: Address
Implementations§
Trait Implementations§
source§impl Debug for AllowOnwardAddress
impl Debug for AllowOnwardAddress
source§impl OutgoingAccessControl for AllowOnwardAddress
impl OutgoingAccessControl for AllowOnwardAddress
Return true if the message is allowed to pass, and false if not.
Auto Trait Implementations§
impl Freeze for AllowOnwardAddress
impl RefUnwindSafe for AllowOnwardAddress
impl Send for AllowOnwardAddress
impl Sync for AllowOnwardAddress
impl Unpin for AllowOnwardAddress
impl UnwindSafe for AllowOnwardAddress
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more