TextStreamOptions
struct · ferroui-controls · v0.5.0
struct TextStreamOptions
Stream policy supplied explicitly at each call. A matching leading BOM is accepted and removed on input; a contradictory BOM is an encoding error. RTF uses its own byte encoding and requires the default Utf8/no-BOM policy, without transcoding its byte payload. The byte bound also applies to output.
Members
encoding
encoding: TextStreamEncoding
write_byte_order_mark
write_byte_order_mark: bool
max_bytes
max_bytes: usize
Maximum bytes consumed or emitted. Zero permits only an empty stream.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.