pub struct BindExposureAcks(/* private fields */);Expand description
Operator acknowledgements for public exposure per bind address and the per-bind exposure gate (ADR-0061).
Canonical home is camel_auth::bind_gate (moved in Task 2.6 so
transports — which may not reference camel_core::, see
xtask lint-component-deps — enforce the same gate; MCP’s registry is
the first). Re-exported here so controller call sites, the CLI, and the
gate tests keep their historical import paths.
Operator acknowledgements for public exposure per bind address
(ADR-0061). Plain map — camel-core stays camel-config-free; the CLI
builds this from CamelConfig.binds and passes it into route staging.
Implementations§
Source§impl BindExposureAcks
impl BindExposureAcks
pub fn new(map: HashMap<String, bool>) -> BindExposureAcks
Sourcepub fn acknowledged(&self, bind: &str) -> bool
pub fn acknowledged(&self, bind: &str) -> bool
Whether the operator acknowledged public exposure for bind
(bind address string, e.g. "0.0.0.0:8080"). Absent → false.
Trait Implementations§
Source§impl Clone for BindExposureAcks
impl Clone for BindExposureAcks
Source§fn clone(&self) -> BindExposureAcks
fn clone(&self) -> BindExposureAcks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BindExposureAcks
impl Debug for BindExposureAcks
Source§impl Default for BindExposureAcks
impl Default for BindExposureAcks
Source§fn default() -> BindExposureAcks
fn default() -> BindExposureAcks
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BindExposureAcks
impl RefUnwindSafe for BindExposureAcks
impl Send for BindExposureAcks
impl Sync for BindExposureAcks
impl Unpin for BindExposureAcks
impl UnsafeUnpin for BindExposureAcks
impl UnwindSafe for BindExposureAcks
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