Struct bird_protocol::types::ReadLengthProvidedArray
source · [−]pub struct ReadLengthProvidedArray<T, S> {
pub value: Vec<T>,
/* private fields */
}Fields
value: Vec<T>Implementations
sourceimpl<T, S> ReadLengthProvidedArray<T, S>
impl<T, S> ReadLengthProvidedArray<T, S>
Trait Implementations
sourceimpl<T, S> From<ReadLengthProvidedArray<T, S>> for Vec<T>
impl<T, S> From<ReadLengthProvidedArray<T, S>> for Vec<T>
sourcefn from(value: ReadLengthProvidedArray<T, S>) -> Self
fn from(value: ReadLengthProvidedArray<T, S>) -> Self
Converts to this type from the input type.
sourceimpl<T: PacketReadable + Send + Sync, S: PacketReadable + USizePossible> PacketReadable for ReadLengthProvidedArray<T, S>
impl<T: PacketReadable + Send + Sync, S: PacketReadable + USizePossible> PacketReadable for ReadLengthProvidedArray<T, S>
fn read<'life0, 'async_trait>(
input: &'life0 mut impl 'async_trait + InputPacketBytes
) -> Pin<Box<dyn Future<Output = PacketReadableResult<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<T, S> RefUnwindSafe for ReadLengthProvidedArray<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for ReadLengthProvidedArray<T, S> where
S: Send,
T: Send,
impl<T, S> Sync for ReadLengthProvidedArray<T, S> where
S: Sync,
T: Sync,
impl<T, S> Unpin for ReadLengthProvidedArray<T, S> where
S: Unpin,
T: Unpin,
impl<T, S> UnwindSafe for ReadLengthProvidedArray<T, S> where
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more