pub struct BufferState<T, Route> {
pub capacity: usize,
pub overflow: OverflowPolicy,
/* private fields */
}Expand description
Complete valid state product of a Buffer.
Fields§
§capacity: usizePositive maximum accepted queue length.
overflow: OverflowPolicyExhaustive policy used at capacity.
Implementations§
Source§impl<T, Route> BufferState<T, Route>
impl<T, Route> BufferState<T, Route>
Auto Trait Implementations§
impl<T, Route> Freeze for BufferState<T, Route>
impl<T, Route> RefUnwindSafe for BufferState<T, Route>where
T: RefUnwindSafe,
Route: RefUnwindSafe,
impl<T, Route> Send for BufferState<T, Route>
impl<T, Route> Sync for BufferState<T, Route>
impl<T, Route> Unpin for BufferState<T, Route>
impl<T, Route> UnsafeUnpin for BufferState<T, Route>
impl<T, Route> UnwindSafe for BufferState<T, Route>where
T: UnwindSafe,
Route: UnwindSafe,
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