pub struct StreamOptions {
pub commit_policy: CommitPolicy,
pub stable_prefix_agreement_n: u32,
pub family: Option<StreamExtension>,
}Expand description
Options for beginning a stream.
Fields§
§commit_policy: CommitPolicyWhen committed text grows. Default CommitPolicy::Auto.
stable_prefix_agreement_n: u32Consecutive agreeing hypotheses required before a prefix commits (stable-prefix policies). 0 selects the library default (3).
family: Option<StreamExtension>Optional family-specific stream extension.
Trait Implementations§
Source§impl Clone for StreamOptions
impl Clone for StreamOptions
Source§impl Debug for StreamOptions
impl Debug for StreamOptions
Source§impl Default for StreamOptions
impl Default for StreamOptions
impl Eq for StreamOptions
Source§impl PartialEq for StreamOptions
impl PartialEq for StreamOptions
impl StructuralPartialEq for StreamOptions
Auto Trait Implementations§
impl Freeze for StreamOptions
impl RefUnwindSafe for StreamOptions
impl Send for StreamOptions
impl Sync for StreamOptions
impl Unpin for StreamOptions
impl UnsafeUnpin for StreamOptions
impl UnwindSafe for StreamOptions
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