pub struct StreamConfig {
pub rate: u32,
pub block: usize,
pub silent: Option<Silent>,
}Fields§
§rate: u32§block: usize§silent: Option<Silent>Ends the stream where the tail bound proves silence; None streams on forever.
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
impl Copy for StreamConfig
Source§impl Debug for StreamConfig
impl Debug for StreamConfig
Source§impl PartialEq for StreamConfig
impl PartialEq for StreamConfig
impl StructuralPartialEq for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin for StreamConfig
impl UnwindSafe for StreamConfig
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