pub struct StreamingValidator { /* private fields */ }Expand description
Streamender UTF-8-Validator fuer fragmentierte Text-Frames.
WebSocket-Spec §6.2 kann Text-Frames in mehrere DATA-Frames (FIN=0) aufteilen — der UTF-8-Stream darf dabei mitten in einer multi-byte-Sequenz unterbrochen werden. Dieser Validator pflegt einen kleinen internen Puffer fuer das angefangene Codepoint.
Implementations§
Trait Implementations§
Source§impl Debug for StreamingValidator
impl Debug for StreamingValidator
Source§impl Default for StreamingValidator
impl Default for StreamingValidator
Source§fn default() -> StreamingValidator
fn default() -> StreamingValidator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamingValidator
impl RefUnwindSafe for StreamingValidator
impl Send for StreamingValidator
impl Sync for StreamingValidator
impl Unpin for StreamingValidator
impl UnsafeUnpin for StreamingValidator
impl UnwindSafe for StreamingValidator
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