Struct AllLayersWriter

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

A temporary writer for an arbitrary list of layers

Trait Implementations

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

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

impl<ChannelsWriter: Clone> Clone for AllLayersWriter<ChannelsWriter>

fn clone(&self) -> Self

impl<ChannelsWriter: Debug> Debug for AllLayersWriter<ChannelsWriter>

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

impl<ChannelsWriter: Eq> Eq for AllLayersWriter<ChannelsWriter>

impl<ChannelsWriter: PartialEq> PartialEq for AllLayersWriter<ChannelsWriter>

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

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

Auto Trait Implementations

impl<ChannelsWriter> Freeze for AllLayersWriter<ChannelsWriter> where SmallVec<[LayerWriter<ChannelsWriter>; 2]>: Freeze,

impl<ChannelsWriter> RefUnwindSafe for AllLayersWriter<ChannelsWriter> where SmallVec<[LayerWriter<ChannelsWriter>; 2]>: RefUnwindSafe,

impl<ChannelsWriter> Send for AllLayersWriter<ChannelsWriter> where SmallVec<[LayerWriter<ChannelsWriter>; 2]>: Send,

impl<ChannelsWriter> Sync for AllLayersWriter<ChannelsWriter> where SmallVec<[LayerWriter<ChannelsWriter>; 2]>: Sync,

impl<ChannelsWriter> Unpin for AllLayersWriter<ChannelsWriter> where SmallVec<[LayerWriter<ChannelsWriter>; 2]>: Unpin,

impl<ChannelsWriter> UnsafeUnpin for AllLayersWriter<ChannelsWriter> where SmallVec<[LayerWriter<ChannelsWriter>; 2]>: UnsafeUnpin,

impl<ChannelsWriter> UnwindSafe for AllLayersWriter<ChannelsWriter> where SmallVec<[LayerWriter<ChannelsWriter>; 2]>: UnwindSafe,

Blanket Implementations

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for AllLayersWriter<ChannelsWriter>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for AllLayersWriter<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 AllLayersWriter<ChannelsWriter> where T: ?Sized,

impl<T> ToOwned for AllLayersWriter<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 AllLayersWriter<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 AllLayersWriter<ChannelsWriter> where U: Into<T>,

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

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

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