Skip to main content

Crate sanitization_bytes

Crate sanitization_bytes 

Source
Expand description

bytes integration wrappers for sanitization.

This crate deliberately uses wrapper types instead of trait impls for external types. Rust’s orphan rules prevent implementing sanitization::SecureSanitize directly for bytes::BytesMut here.

Structs§

CapacityError
Error returned when an append would exceed the fixed buffer capacity.
SecretBytesMut
Clear-on-drop wrapper around BytesMut.