Struct LayerWriter

pub struct LayerWriter<ChannelsWriter> { /* private fields */ }

A temporary writer for a single layer

Trait Implementations

impl<C> LayersWriter for LayerWriter<C> where C: ChannelsWriter,

fn extract_uncompressed_block(&self, headers: &[Header], block: BlockIndex) -> Vec<u8>

impl<ChannelsWriter: Clone> Clone for LayerWriter<ChannelsWriter>

fn clone(&self) -> Self

impl<ChannelsWriter: Debug> Debug for LayerWriter<ChannelsWriter>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<ChannelsWriter: Eq> Eq for LayerWriter<ChannelsWriter>

impl<ChannelsWriter: PartialEq> PartialEq for LayerWriter<ChannelsWriter>

fn eq(&self, other: &Self) -> bool

impl<ChannelsWriter: PartialEq> StructuralPartialEq for LayerWriter<ChannelsWriter>

Auto Trait Implementations

impl<ChannelsWriter> Freeze for LayerWriter<ChannelsWriter> where ChannelsWriter: Freeze,

impl<ChannelsWriter> RefUnwindSafe for LayerWriter<ChannelsWriter> where ChannelsWriter: RefUnwindSafe,

impl<ChannelsWriter> Send for LayerWriter<ChannelsWriter> where ChannelsWriter: Send,

impl<ChannelsWriter> Sync for LayerWriter<ChannelsWriter> where ChannelsWriter: Sync,

impl<ChannelsWriter> Unpin for LayerWriter<ChannelsWriter> where ChannelsWriter: Unpin,

impl<ChannelsWriter> UnsafeUnpin for LayerWriter<ChannelsWriter> where ChannelsWriter: UnsafeUnpin,

impl<ChannelsWriter> UnwindSafe for LayerWriter<ChannelsWriter> where ChannelsWriter: UnwindSafe,

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for LayerWriter<ChannelsWriter> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for LayerWriter<ChannelsWriter> where ST: ?Sized, DT: ?Sized,

impl<T> Any for LayerWriter<ChannelsWriter> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for LayerWriter<ChannelsWriter> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for LayerWriter<ChannelsWriter> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for LayerWriter<ChannelsWriter> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for LayerWriter<ChannelsWriter>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for LayerWriter<ChannelsWriter>

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> Read<Exclusive, BecauseExclusive> for LayerWriter<ChannelsWriter> where T: ?Sized,

impl<T> ToOwned for LayerWriter<ChannelsWriter> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for LayerWriter<ChannelsWriter> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for LayerWriter<ChannelsWriter> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for LayerWriter<ChannelsWriter> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>