#[repr(C)]pub struct HurrayWriterOptions {
pub enforce_cross_machine_sync: bool,
}Expand description
Transport assumptions for a writer.
Pass null to hurray_writer_new for the defaults.
Fields§
§enforce_cross_machine_sync: boolRefuse to emit a buffer whose sync mode is not ProducerSynced. Set this when the
stream crosses a machine boundary, where a device-local synchronization handle
means nothing to the far end.
Auto Trait Implementations§
impl Freeze for HurrayWriterOptions
impl RefUnwindSafe for HurrayWriterOptions
impl Send for HurrayWriterOptions
impl Sync for HurrayWriterOptions
impl Unpin for HurrayWriterOptions
impl UnsafeUnpin for HurrayWriterOptions
impl UnwindSafe for HurrayWriterOptions
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