pub struct ProxyConfig { /* private fields */ }Expand description
One proxy instance configuration.
Implementations§
Source§impl ProxyConfig
impl ProxyConfig
Sourcepub fn new(
endpoint: LoopbackEndpoint,
instance_identity: ProxyInstanceIdentity,
runtime_session: [u8; 16],
runtime_generation: u64,
scope: HostScope,
authorization: ProxyAuthorization,
limits: ProxyLimits,
) -> Result<Self, ProxyError>
pub fn new( endpoint: LoopbackEndpoint, instance_identity: ProxyInstanceIdentity, runtime_session: [u8; 16], runtime_generation: u64, scope: HostScope, authorization: ProxyAuthorization, limits: ProxyLimits, ) -> Result<Self, ProxyError>
Bind a fresh process/listener identity and proxy capability to one runtime generation, HNS TLD, and bounded lifetime configuration.
Sourcepub const fn endpoint(&self) -> LoopbackEndpoint
pub const fn endpoint(&self) -> LoopbackEndpoint
Exact numeric loopback endpoint.
Browser callback authorization header.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProxyConfig
impl RefUnwindSafe for ProxyConfig
impl Send for ProxyConfig
impl Sync for ProxyConfig
impl Unpin for ProxyConfig
impl UnsafeUnpin for ProxyConfig
impl UnwindSafe for ProxyConfig
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