Enum futuresdr::blocks::WebsocketSinkMode
source · pub enum WebsocketSinkMode {
Blocking,
FixedBlocking(usize),
FixedDropping(usize),
}
Expand description
Operation mode for WebsocketSink.
Variants§
Blocking
Backpressure. Block until all samples are sent.
FixedBlocking(usize)
Sent samples in fixed-size chunks. Block until all samples are sent.
FixedDropping(usize)
Sent samples in fixed-size chunks. Drop first chunks if multiple are available in input buffer.
Auto Trait Implementations§
impl RefUnwindSafe for WebsocketSinkMode
impl Send for WebsocketSinkMode
impl Sync for WebsocketSinkMode
impl Unpin for WebsocketSinkMode
impl UnwindSafe for WebsocketSinkMode
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