pub struct Bridge { /* private fields */ }Expand description
A bridge instance: the reducer facts plus the ledger and the live session map it resolves probe targets from.
Implementations§
Source§impl Bridge
impl Bridge
pub fn new() -> Self
Sourcepub fn track_live(&self, session: SessionRef)
pub fn track_live(&self, session: SessionRef)
Remember a live session ref. The bridge prefers it over the stored reference when it names the backend resource.
Sourcepub fn untrack_live(&self, task_id: &str)
pub fn untrack_live(&self, task_id: &str)
Forget a live session ref.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Bridge
impl !RefUnwindSafe for Bridge
impl Send for Bridge
impl Sync for Bridge
impl Unpin for Bridge
impl UnsafeUnpin for Bridge
impl UnwindSafe for Bridge
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