pub struct RandomFragmenter { /* private fields */ }Expand description
Non-contiguous-scatter Layer 3 fragmenter.
Each chunk holds bytes drawn from independently-chosen random positions in the original key — no chunk ever contains a contiguous run of key bytes longer than 1.
Implementations§
Trait Implementations§
Source§impl Clone for RandomFragmenter
impl Clone for RandomFragmenter
Source§fn clone(&self) -> RandomFragmenter
fn clone(&self) -> RandomFragmenter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RandomFragmenter
impl Debug for RandomFragmenter
Source§impl Default for RandomFragmenter
impl Default for RandomFragmenter
Source§impl FragmentStrategy for RandomFragmenter
impl FragmentStrategy for RandomFragmenter
Source§fn fragment(&self, key: &RawKey) -> Result<Fragments>
fn fragment(&self, key: &RawKey) -> Result<Fragments>
Split a key into the strategy-defined fragmented representation. Read more
Source§fn defragment(&self, fragments: &Fragments) -> Result<RawKey>
fn defragment(&self, fragments: &Fragments) -> Result<RawKey>
Reassemble fragments into the original raw key. Read more
impl Copy for RandomFragmenter
Auto Trait Implementations§
impl Freeze for RandomFragmenter
impl RefUnwindSafe for RandomFragmenter
impl Send for RandomFragmenter
impl Sync for RandomFragmenter
impl Unpin for RandomFragmenter
impl UnsafeUnpin for RandomFragmenter
impl UnwindSafe for RandomFragmenter
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