pub struct Fragment { /* private fields */ }
Expand description
Fragments are created from blocks using Erasure Encoding and stored with other nodes in the network to provide availability and redundancy of data.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Fragment
impl<'de> Deserialize<'de> for Fragment
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 PartialEq<Fragment> for Fragment
impl PartialEq<Fragment> for Fragment
impl Eq for Fragment
impl StructuralEq for Fragment
impl StructuralPartialEq for Fragment
Auto Trait Implementations§
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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