Struct ockam_transport_tcp::TcpOutletOptions
source · pub struct TcpOutletOptions { /* private fields */ }
Expand description
Trust Options for an Outlet
Implementations§
source§impl TcpOutletOptions
impl TcpOutletOptions
sourcepub fn with_incoming_access_control_impl(
self,
access_control: impl IncomingAccessControl
) -> Self
pub fn with_incoming_access_control_impl( self, access_control: impl IncomingAccessControl ) -> Self
Set Incoming Access Control
sourcepub fn with_incoming_access_control(
self,
access_control: Arc<dyn IncomingAccessControl>
) -> Self
pub fn with_incoming_access_control( self, access_control: Arc<dyn IncomingAccessControl> ) -> Self
Set Incoming Access Control
sourcepub fn as_consumer(self, id: &FlowControlId) -> Self
pub fn as_consumer(self, id: &FlowControlId) -> Self
Mark that this Outlet listener is a Consumer for to the given FlowControlId
Also, in this case spawned Outlets will be marked as Consumers with FlowControlId
of the message that was used to create the Outlet
Trait Implementations§
source§impl Debug for TcpOutletOptions
impl Debug for TcpOutletOptions
Auto Trait Implementations§
impl !RefUnwindSafe for TcpOutletOptions
impl Send for TcpOutletOptions
impl Sync for TcpOutletOptions
impl Unpin for TcpOutletOptions
impl !UnwindSafe for TcpOutletOptions
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