pub fn send_raw<F: FnOnce(*mut T, usize) -> usize>(&mut self, f: F) -> Result<Status, Error> {
        let status = self.sender_mut().send(f)?;
        if status.signal { self.empty_signal().write(&1u64.to_ne_bytes())?; }
        Ok(status)
    }
/// Sends one or more items through the ringbuffer.
///
/// Because this is a ringbuffer between untrusted processes we can never create references to
/// the data, so we have to resort to raw pointers.
/// The closure receives a (ptr, count) pair which can be written to using e g `std::ptr::write`,
/// and returns the number of items written to that memory area.
/// If the buffer is full, the closure is not called. If there is more data that could be written
/// (e g in another part of the ringbuffer), that is indicated in the returned `Status` struct.
Sends one or more items through the ringbuffer.
Because this is a ringbuffer between untrusted processes we can never create references to
the data, so we have to resort to raw pointers.
The closure receives a (ptr, count) pair which can be written to using e g `std::ptr::write`,
and returns the number of items written to that memory area.
If the buffer is full, the closure is not called. If there is more data that could be written
(e g in another part of the ringbuffer), that is indicated in the returned `Status` struct.
Sends one or more items through the ringbuffer . Because this is a ringbuffer between untrusted processes we can never create references to the data so we have to resort to raw pointers . The closure receives a ( ptr count ) pair which can be written to using e g ` std :: ptr :: write ` and returns the number of items written to that memory area . If the buffer is full the closure is not called . If there is more data that could be written ( e g in another part of the ringbuffer ) that is indicated in the returned ` Status ` struct .
pub fn send_raw<F: FnOnce(*mut T, usize) -> usize>(&mut self, f: F) -> Result<Status, Error> {
        let status = self.sender_mut().send(f)?;
        if status.signal { self.empty_signal().write(&1u64.to_ne_bytes())?; }
        Ok(status)
    }
pub fn send_raw < F : FnOnce ( * mut T , usize ) -> usize > ( & mut self , f : F ) -> Result < Status , Error > { let status = self . sender_mut ( ) . send ( f ) ? ; if status . signal { self . empty_signal ( ) . write ( & 1u64 . to_ne_bytes ( ) ) ? ; } Ok ( status ) }
Sends one or more items through the ringbuffer.
Sends one or more items through the ringbuffer .
&mut self
f
F
&mut self
f
F