[−][src]Struct stm32f103xx_hal::dma::CircBuffer
Methods
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C1, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C1, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C2, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C2, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C3, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C3, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C4, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C4, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C5, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C5, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C6, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C6, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C7, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C7, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C1, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C1, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C2, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C2, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C3, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C3, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C4, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C4, RE)
[src]
impl<B: AsRef<[u8]>, RE> CircBuffer<B, C5, RE>
[src]
pub fn peek_whole_buffer<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, &B, usize) -> R,
[src]
F: FnOnce(&B, &B, usize) -> R,
peers into the buffer without touching any flag
pub fn retrieve_filled_half<R, F>(&mut self, f: F) -> Result<R, Error> where
F: FnOnce(&B, Half, usize) -> R,
[src]
F: FnOnce(&B, Half, usize) -> R,
Give access to the available half buffer this also flags it as clear to re-fill.
pub fn get_filled_half(&mut self) -> Result<Half, Error>
[src]
Returns the Half
of the buffer that can be read
this also flags it as clear to re-fill.
pub fn release(self) -> (&'static mut [B; 2], C5, RE)
[src]
Auto Trait Implementations
impl<BUFFER, CHANNEL, RESOURCE> Send for CircBuffer<BUFFER, CHANNEL, RESOURCE> where
BUFFER: Send,
CHANNEL: Send,
RESOURCE: Send,
BUFFER: Send,
CHANNEL: Send,
RESOURCE: Send,
impl<BUFFER, CHANNEL, RESOURCE> Sync for CircBuffer<BUFFER, CHANNEL, RESOURCE> where
BUFFER: Sync,
CHANNEL: Sync,
RESOURCE: Sync,
BUFFER: Sync,
CHANNEL: Sync,
RESOURCE: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,