pub struct ZeroAllocCoinbaseProcessor { /* private fields */ }Expand description
Zero-allocation Coinbase message processor
Implementations§
Source§impl ZeroAllocCoinbaseProcessor
impl ZeroAllocCoinbaseProcessor
Sourcepub async fn process_message(
&self,
message_bytes: &mut [u8],
report_sender: &Option<Sender<ExecutionReport>>,
) -> Result<()>
pub async fn process_message( &self, message_bytes: &mut [u8], report_sender: &Option<Sender<ExecutionReport>>, ) -> Result<()>
Process a WebSocket message with zero allocations
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZeroAllocCoinbaseProcessor
impl !RefUnwindSafe for ZeroAllocCoinbaseProcessor
impl Send for ZeroAllocCoinbaseProcessor
impl Sync for ZeroAllocCoinbaseProcessor
impl Unpin for ZeroAllocCoinbaseProcessor
impl !UnwindSafe for ZeroAllocCoinbaseProcessor
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