#[repr(u8)]pub enum RedundancyLevel {
Off = 0,
Medium = 1,
Strong = 2,
Insane = 3,
Paranoid = 4,
}Expand description
Data redundancy level applied at upload time. Mirrors bee-js
RedundancyLevel.
Variants§
Off = 0
No redundancy.
Medium = 1
Medium redundancy.
Strong = 2
Strong redundancy.
Insane = 3
Insane redundancy.
Paranoid = 4
Paranoid redundancy.
Implementations§
Trait Implementations§
Source§impl Clone for RedundancyLevel
impl Clone for RedundancyLevel
Source§fn clone(&self) -> RedundancyLevel
fn clone(&self) -> RedundancyLevel
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 RedundancyLevel
impl Debug for RedundancyLevel
Source§impl Hash for RedundancyLevel
impl Hash for RedundancyLevel
Source§impl PartialEq for RedundancyLevel
impl PartialEq for RedundancyLevel
Source§fn eq(&self, other: &RedundancyLevel) -> bool
fn eq(&self, other: &RedundancyLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RedundancyLevel
impl Eq for RedundancyLevel
impl StructuralPartialEq for RedundancyLevel
Auto Trait Implementations§
impl Freeze for RedundancyLevel
impl RefUnwindSafe for RedundancyLevel
impl Send for RedundancyLevel
impl Sync for RedundancyLevel
impl Unpin for RedundancyLevel
impl UnsafeUnpin for RedundancyLevel
impl UnwindSafe for RedundancyLevel
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