pub struct MemLaneOptions {
pub capacity: usize,
pub max_message_len: usize,
}Expand description
Options for an in-memory events lane.
Fields§
§capacity: usizeMaximum queued messages before publishes return LaneTxError::Full.
max_message_len: usizeMaximum message length accepted by the lane.
Trait Implementations§
Source§impl Clone for MemLaneOptions
impl Clone for MemLaneOptions
Source§fn clone(&self) -> MemLaneOptions
fn clone(&self) -> MemLaneOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemLaneOptions
impl Debug for MemLaneOptions
Source§impl Default for MemLaneOptions
impl Default for MemLaneOptions
Source§impl PartialEq for MemLaneOptions
impl PartialEq for MemLaneOptions
impl Copy for MemLaneOptions
impl Eq for MemLaneOptions
impl StructuralPartialEq for MemLaneOptions
Auto Trait Implementations§
impl Freeze for MemLaneOptions
impl RefUnwindSafe for MemLaneOptions
impl Send for MemLaneOptions
impl Sync for MemLaneOptions
impl Unpin for MemLaneOptions
impl UnwindSafe for MemLaneOptions
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