Struct a653rs_linux_core::queuing::QueuingDestination
source · pub struct QueuingDestination(/* private fields */);Implementations§
source§impl QueuingDestination
impl QueuingDestination
sourcepub fn read(&mut self, buffer: &mut [u8]) -> Option<(usize, bool)>
pub fn read(&mut self, buffer: &mut [u8]) -> Option<(usize, bool)>
Reads the current message from the queue into a buffer and increments the current read index. If a message was successfully read, the number of bytes read and whether the queue has overflowed.
pub fn get_current_num_messages(&mut self) -> usize
pub fn clear(&mut self, current_time: Instant)
Trait Implementations§
source§impl Debug for QueuingDestination
impl Debug for QueuingDestination
Auto Trait Implementations§
impl Freeze for QueuingDestination
impl RefUnwindSafe for QueuingDestination
impl Send for QueuingDestination
impl Sync for QueuingDestination
impl Unpin for QueuingDestination
impl UnwindSafe for QueuingDestination
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more