pub struct LinkBridge { /* private fields */ }Expand description
Owns one prefix subscription per configured export and one carrier worker.
Implementations§
Source§impl LinkBridge
impl LinkBridge
Sourcepub fn start(
link: impl Into<DialedLink>,
services: Arc<LiminalConnectionServices>,
) -> Result<Self, ServerError>
pub fn start( link: impl Into<DialedLink>, services: Arc<LiminalConnectionServices>, ) -> Result<Self, ServerError>
Starts an already keyed link over bounded local subscriptions.
§Errors
Prefix validation, subscription recovery, or worker creation failed.
Sourcepub fn counters(&self) -> BridgeCounters
pub fn counters(&self) -> BridgeCounters
The current counters for this link.
Sourcepub fn install_observations(&self, registry: &BridgeRegistry)
pub fn install_observations(&self, registry: &BridgeRegistry)
Shares this link’s live observations with a health registry.
Trait Implementations§
Source§impl Debug for LinkBridge
impl Debug for LinkBridge
Source§impl Drop for LinkBridge
impl Drop for LinkBridge
Auto Trait Implementations§
impl !RefUnwindSafe for LinkBridge
impl !UnwindSafe for LinkBridge
impl Freeze for LinkBridge
impl Send for LinkBridge
impl Sync for LinkBridge
impl Unpin for LinkBridge
impl UnsafeUnpin for LinkBridge
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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