Struct lepton_mux::DevNull[][src]

pub struct DevNull<AllocU8: Allocator<u8>> { /* fields omitted */ }

Methods

impl<AllocU8: Allocator<u8>> DevNull<AllocU8>
[src]

Trait Implementations

impl<AllocU8: Allocator<u8>> Default for DevNull<AllocU8>
[src]

Returns the "default value" for a type. Read more

impl<AllocU8: Allocator<u8>> StreamMuxer<AllocU8> for DevNull<AllocU8>
[src]

Returns an array of n_stream WritableBytes. Each WritableByte is connected to the buffer of its corresponding stream. Read more

Writes data to the specified stream.

Populate output with content buffered by each stream in a "fair" manner.

impl<AllocU8: Allocator<u8>> StreamDemuxer<AllocU8> for DevNull<AllocU8>
[src]

Demultiplexes data into streams.

Returns an array of n_stream ReadableBytes. Each ReadableByte is connected to the buffer of its corresponding stream. Read more

Auto Trait Implementations

impl<AllocU8> Send for DevNull<AllocU8> where
    AllocU8: Send,
    <AllocU8 as Allocator<u8>>::AllocatedMemory: Send

impl<AllocU8> Sync for DevNull<AllocU8> where
    AllocU8: Sync,
    <AllocU8 as Allocator<u8>>::AllocatedMemory: Sync