[−][src]Struct libsbc::Decoder
SBC stream decoder that produces frames.
Implementations
impl<R> Decoder<R> where
R: Read,
[src]
R: Read,
pub fn new(reader: R) -> Decoder<R>
[src]
Create a new decoder from the reader.
pub fn next_frame(&mut self) -> Result<Frame>
[src]
Decode the next frame from the stream.
Trait Implementations
Auto Trait Implementations
impl<R> RefUnwindSafe for Decoder<R> where
R: RefUnwindSafe,
[src]
R: RefUnwindSafe,
impl<R> !Sync for Decoder<R>
[src]
impl<R> Unpin for Decoder<R> where
R: Unpin,
[src]
R: Unpin,
impl<R> UnwindSafe for Decoder<R> where
R: UnwindSafe,
[src]
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,