GeezerVison is showing docs.rs — BlobProducer in ringfire::blob - Rust pub struct BlobProducer<M: Copy + 'static> { /* private fields */ }
Expand descriptionProducer for variable-sized binary blobs and metadata in shared memory.
Implementations§
Creates a new blob producer with default options.
capacity is the number of ring slots (power of 2).
arena_capacity is the byte capacity of the payload arena (power of 2, e.g. 16MB).
Creates a new blob producer with custom builder options.
Publishes a message with metadata and binary payload.
Returns the assigned sequence number.
Publishes with zero-copy writing directly into the payload arena.
Minimum sequence across all currently living registered readers.
Maximum lag across registered readers.
Remaining write headroom before the slowest reader is lapped.
Status of all registered active readers.
Current sequence number of the producer.
Source§Convenience methods for producers with no metadata (M = ()).
Trait Implementations§
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
🔬This is a nightly-only experimental API. (pin_ergonomics) Execute the destructor for this type, but different to Drop::drop, it requires self
to be pinned. Read moreAuto Trait Implementations§Blanket Implementations§
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion. |