struct ForwarderState {
client: Arc<dyn IpcClient>,
destination: Endpoint,
local: Arc<CircularBuffer<FlightRecorderEvent>>,
pending: CircularBuffer<FlightRecorderEvent>,
flushing: AtomicBool,
reading: AtomicUsize,
}Fields§
§client: Arc<dyn IpcClient>§destination: Endpoint§local: Arc<CircularBuffer<FlightRecorderEvent>>§pending: CircularBuffer<FlightRecorderEvent>§flushing: AtomicBool§reading: AtomicUsizeNumber of aggregated reads in flight. Flushes wait while it is non-zero.
Auto Trait Implementations§
impl !Freeze for ForwarderState
impl !RefUnwindSafe for ForwarderState
impl !UnwindSafe for ForwarderState
impl Send for ForwarderState
impl Sync for ForwarderState
impl Unpin for ForwarderState
impl UnsafeUnpin for ForwarderState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more