pub struct FrameQueue { /* private fields */ }Expand description
Frame queue used for communicating between the receiver task and the application.
Implementations§
Source§impl FrameQueue
impl FrameQueue
pub fn new(capacity: usize) -> Self
pub fn push(&mut self, frame: CompletedFrame, stats: &StreamStatsAccumulator)
pub fn pop(&mut self) -> Option<CompletedFrame>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameQueue
impl RefUnwindSafe for FrameQueue
impl Send for FrameQueue
impl Sync for FrameQueue
impl Unpin for FrameQueue
impl UnwindSafe for FrameQueue
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