Struct ockam_core::access_control::AllowOnwardAddresses
source · pub struct AllowOnwardAddresses(pub Vec<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: Vec<Address>
Trait Implementations§
source§impl Debug for AllowOnwardAddresses
impl Debug for AllowOnwardAddresses
source§impl OutgoingAccessControl for AllowOnwardAddresses
impl OutgoingAccessControl for AllowOnwardAddresses
Return true if the message is allowed to pass, and false if not.
Auto Trait Implementations§
impl Freeze for AllowOnwardAddresses
impl RefUnwindSafe for AllowOnwardAddresses
impl Send for AllowOnwardAddresses
impl Sync for AllowOnwardAddresses
impl Unpin for AllowOnwardAddresses
impl UnwindSafe for AllowOnwardAddresses
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