Method lrs::ringbuf::DynRingBuf::try_push_left

Tries to append an element to the right end of the ring buffer.

Syntax

impl<T, H> DynRingBuf<T, H>
    where H: Allocator,
{
    fn try_push_left(&mut self, val: T) -> Result<(), Errno>
        where T: Copy,
}

Arguments

NameDescription
val

The element to append.