pub struct RemainingBytesArray<T> {
pub value: Vec<T>,
}Fields§
§value: Vec<T>Implementations§
Trait Implementations§
Source§impl<T> From<RemainingBytesArray<T>> for Vec<T>
impl<T> From<RemainingBytesArray<T>> for Vec<T>
Source§fn from(array: RemainingBytesArray<T>) -> Self
fn from(array: RemainingBytesArray<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<Vec<T>> for RemainingBytesArray<T>
impl<T> From<Vec<T>> for RemainingBytesArray<T>
Source§impl<T: PacketReadable + Send + Sync> PacketReadable for RemainingBytesArray<T>
impl<T: PacketReadable + Send + Sync> PacketReadable for RemainingBytesArray<T>
fn read<'life0, 'async_trait>(
input: &'life0 mut (impl 'async_trait + InputPacketBytes),
) -> Pin<Box<dyn Future<Output = PacketReadableResult<Self>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl<T: PacketWritable + Send + Sync> PacketWritable for RemainingBytesArray<T>
impl<T: PacketWritable + Send + Sync> PacketWritable for RemainingBytesArray<T>
fn write<'life0, 'async_trait>(
self,
output: &'life0 mut (impl 'async_trait + OutputPacketBytes),
) -> Pin<Box<dyn Future<Output = PacketWritableResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<T> Freeze for RemainingBytesArray<T>
impl<T> RefUnwindSafe for RemainingBytesArray<T>where
T: RefUnwindSafe,
impl<T> Send for RemainingBytesArray<T>where
T: Send,
impl<T> Sync for RemainingBytesArray<T>where
T: Sync,
impl<T> Unpin for RemainingBytesArray<T>where
T: Unpin,
impl<T> UnwindSafe for RemainingBytesArray<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more