pub struct EncodedBlockBody(pub ByteBuf);Tuple Fields§
§0: ByteBufTrait Implementations§
Source§impl Clone for EncodedBlockBody
impl Clone for EncodedBlockBody
Source§fn clone(&self) -> EncodedBlockBody
fn clone(&self) -> EncodedBlockBody
Returns a copy of the value. Read more
1.0.0 · 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 EncodedBlockBody
impl Debug for EncodedBlockBody
Source§impl<'de> Deserialize<'de> for EncodedBlockBody
impl<'de> Deserialize<'de> for EncodedBlockBody
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 From<BlockBody> for EncodedBlockBody
impl From<BlockBody> for EncodedBlockBody
Source§impl From<EncodedBlockBody> for BlockBody
impl From<EncodedBlockBody> for BlockBody
Source§fn from(encoded_body: EncodedBlockBody) -> Self
fn from(encoded_body: EncodedBlockBody) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncodedBlockBody
impl PartialEq for EncodedBlockBody
Source§impl Serialize for EncodedBlockBody
impl Serialize for EncodedBlockBody
impl Eq for EncodedBlockBody
impl StructuralPartialEq for EncodedBlockBody
Auto Trait Implementations§
impl Freeze for EncodedBlockBody
impl RefUnwindSafe for EncodedBlockBody
impl Send for EncodedBlockBody
impl Sync for EncodedBlockBody
impl Unpin for EncodedBlockBody
impl UnwindSafe for EncodedBlockBody
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