Struct EgressRequest
pub struct EgressRequest { /* private fields */ }Expand description
Canonical per-operation request presented to the shared egress boundary.
Implementations§
Source§impl EgressRequest
impl EgressRequest
Sourcepub fn new(
scope: PluginInstanceScope,
transport: EgressTransport,
host: &str,
port: u16,
) -> Result<Self, EgressError>
pub fn new( scope: PluginInstanceScope, transport: EgressTransport, host: &str, port: u16, ) -> Result<Self, EgressError>
Sourcepub fn instance_id(&self) -> &PluginInstanceId
pub fn instance_id(&self) -> &PluginInstanceId
Host-issued logical instance identity.
Sourcepub fn transport(&self) -> EgressTransport
pub fn transport(&self) -> EgressTransport
Requested transport family and confidentiality mode.
Trait Implementations§
Source§impl Clone for EgressRequest
impl Clone for EgressRequest
Source§fn clone(&self) -> EgressRequest
fn clone(&self) -> EgressRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EgressRequest
impl RefUnwindSafe for EgressRequest
impl Send for EgressRequest
impl Sync for EgressRequest
impl Unpin for EgressRequest
impl UnsafeUnpin for EgressRequest
impl UnwindSafe for EgressRequest
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