[][src]Struct gstreamer_base::UniqueAdapter

pub struct UniqueAdapter(_);

Implementations

impl UniqueAdapter[src]

pub fn new() -> UniqueAdapter

Notable traits for UniqueAdapter

impl Read for UniqueAdapter
[src]

pub fn available(&self) -> usize[src]

pub fn available_fast(&self) -> usize[src]

pub fn clear(&mut self)[src]

pub fn copy_bytes(&self, offset: usize, size: usize) -> Result<Bytes, BoolError>[src]

pub fn distance_from_discont(&self) -> u64[src]

pub fn dts_at_discont(&self) -> ClockTime[src]

pub fn flush(&mut self, flush: usize)[src]

pub fn get_buffer(&self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn get_buffer_fast(&self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn get_buffer_list(&self, nbytes: usize) -> Result<BufferList, BoolError>[src]

pub fn get_list(&self, nbytes: usize) -> Vec<Buffer>[src]

pub fn masked_scan_uint32(
    &self,
    mask: u32,
    pattern: u32,
    offset: usize,
    size: usize
) -> isize
[src]

pub fn masked_scan_uint32_peek(
    &self,
    mask: u32,
    pattern: u32,
    offset: usize,
    size: usize
) -> (isize, u32)
[src]

pub fn offset_at_discont(&self) -> u64[src]

pub fn prev_dts(&self) -> (ClockTime, u64)[src]

pub fn prev_dts_at_offset(&self, offset: usize) -> (ClockTime, u64)[src]

pub fn prev_offset(&self) -> (u64, u64)[src]

pub fn prev_pts(&self) -> (ClockTime, u64)[src]

pub fn prev_pts_at_offset(&self, offset: usize) -> (ClockTime, u64)[src]

pub fn pts_at_discont(&self) -> ClockTime[src]

pub fn take_buffer(&mut self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn take_buffer_fast(&mut self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn take_buffer_list(
    &mut self,
    nbytes: usize
) -> Result<BufferList, BoolError>
[src]

pub fn take_list(&mut self, nbytes: usize) -> Vec<Buffer>[src]

pub fn copy(&self, offset: usize, dest: &mut [u8])[src]

pub fn push(&mut self, buf: Buffer)[src]

pub fn map(&mut self, nbytes: usize) -> Result<UniqueAdapterMap<'_>, BoolError>[src]

Trait Implementations

impl Debug for UniqueAdapter[src]

impl Default for UniqueAdapter[src]

impl Read for UniqueAdapter[src]

impl Send for UniqueAdapter[src]

impl Sync for UniqueAdapter[src]

Auto Trait Implementations

impl RefUnwindSafe for UniqueAdapter

impl Unpin for UniqueAdapter

impl UnwindSafe for UniqueAdapter

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.