Trait laminarmq_io::io_types::ByteLender

source ·
pub trait ByteLender {
    type ByteBuf<'a>: Deref<Target = [u8]> + 'a
       where Self: 'a;
}

Required Associated Types§

source

type ByteBuf<'a>: Deref<Target = [u8]> + 'a where Self: 'a

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ByteLender for AwsS3ByteLender

§

type ByteBuf<'a> = Bytes where Self: 'a

source§

impl<BL> ByteLender for BufferedByteLender<BL>
where BL: ByteLender,

§

type ByteBuf<'a> = BufferedReadByteBuf<<BL as ByteLender>::ByteBuf<'a>> where Self: 'a

source§

impl<T> ByteLender for OwnedByteLender<T>
where T: Deref<Target = [u8]>,

§

type ByteBuf<'a> = T where Self: 'a