pub struct Source<F, A, O = DefaultCpuWriter<A>>{ /* private fields */ }Expand description
Implementations§
Source§impl<F, A> Source<F, A, DefaultCpuWriter<A>>
impl<F, A> Source<F, A, DefaultCpuWriter<A>>
Source§impl<F, A, O> Source<F, A, O>
impl<F, A, O> Source<F, A, O>
Sourcepub fn with_buffer(f: F) -> Self
pub fn with_buffer(f: F) -> Self
Create Source block with a custom stream buffer.
Auto Trait Implementations§
impl<F, A, O> Freeze for Source<F, A, O>
impl<F, A, O> RefUnwindSafe for Source<F, A, O>where
O: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, A, O> Send for Source<F, A, O>where
O: Send,
impl<F, A, O> Sync for Source<F, A, O>
impl<F, A, O> Unpin for Source<F, A, O>
impl<F, A, O> UnsafeUnpin for Source<F, A, O>where
O: UnsafeUnpin,
F: UnsafeUnpin,
impl<F, A, O> UnwindSafe for Source<F, A, O>where
O: UnwindSafe,
F: UnwindSafe,
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