pub enum ErasureAlgo {
Invalid = 0,
ReedSolomon = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ErasureAlgo
impl Clone for ErasureAlgo
Source§fn clone(&self) -> ErasureAlgo
fn clone(&self) -> ErasureAlgo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErasureAlgo
impl Debug for ErasureAlgo
Source§impl Default for ErasureAlgo
impl Default for ErasureAlgo
Source§fn default() -> ErasureAlgo
fn default() -> ErasureAlgo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErasureAlgo
impl<'de> Deserialize<'de> for ErasureAlgo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ErasureAlgo
impl Display for ErasureAlgo
Source§impl PartialEq for ErasureAlgo
impl PartialEq for ErasureAlgo
Source§impl PartialOrd for ErasureAlgo
impl PartialOrd for ErasureAlgo
Source§impl Serialize for ErasureAlgo
impl Serialize for ErasureAlgo
impl Eq for ErasureAlgo
impl StructuralPartialEq for ErasureAlgo
Auto Trait Implementations§
impl Freeze for ErasureAlgo
impl RefUnwindSafe for ErasureAlgo
impl Send for ErasureAlgo
impl Sync for ErasureAlgo
impl Unpin for ErasureAlgo
impl UnwindSafe for ErasureAlgo
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