Skip to main content

BridgeDebugHandle

Trait BridgeDebugHandle 

Source
pub trait BridgeDebugHandle: Send + Sync {
    // Required methods
    fn fire_close(&self, code: u16);
    fn force_reconnect(&self);
    fn inject_fault(&self, fault: BridgeFault);
    fn wake_poll_loop(&self);
    fn describe(&self) -> String;
}
Expand description

Debug handle for bridge operations

Required Methods§

Source

fn fire_close(&self, code: u16)

Invoke the transport’s permanent-close handler directly.

Source

fn force_reconnect(&self)

Call reconnectEnvironmentWithSession

Source

fn inject_fault(&self, fault: BridgeFault)

Queue a fault for the next N calls to the named api method.

Source

fn wake_poll_loop(&self)

Abort the at-capacity sleep so an injected poll fault lands immediately.

Source

fn describe(&self) -> String

env/session IDs for the debug.log grep.

Implementors§