pub struct ServiceInputSender { /* private fields */ }Expand description
Cloneable, non-blocking send capability for one exact process generation.
Serialization happens on the caller and the bounded queue is entered only
with try_send; this API never awaits service I/O or queue capacity.
A successful send means queue admission, not durable delivery: stopping or
restarting the generation may discard records that the writer has not yet
completed. written_lines advances only after a full write and flush.
Implementations§
Source§impl ServiceInputSender
impl ServiceInputSender
pub fn generation(&self) -> u64
Trait Implementations§
Source§impl Clone for ServiceInputSender
impl Clone for ServiceInputSender
Source§fn clone(&self) -> ServiceInputSender
fn clone(&self) -> ServiceInputSender
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 moreAuto Trait Implementations§
impl Freeze for ServiceInputSender
impl RefUnwindSafe for ServiceInputSender
impl Send for ServiceInputSender
impl Sync for ServiceInputSender
impl Unpin for ServiceInputSender
impl UnsafeUnpin for ServiceInputSender
impl UnwindSafe for ServiceInputSender
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