Struct cubic_protocol::types::RemainingBytesArray
source · [−]pub struct RemainingBytesArray<T> {
pub value: Vec<T>,
}
Fields
value: Vec<T>
Implementations
Trait Implementations
sourceimpl<T> From<RemainingBytesArray<T>> for Vec<T>
impl<T> From<RemainingBytesArray<T>> for Vec<T>
sourcefn from(array: RemainingBytesArray<T>) -> Self
fn from(array: RemainingBytesArray<T>) -> Self
Converts to this type from the input type.
sourceimpl<T> From<Vec<T, Global>> for RemainingBytesArray<T>
impl<T> From<Vec<T, Global>> for RemainingBytesArray<T>
sourceimpl<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
'life0: 'async_trait,
Self: 'async_trait,
sourceimpl<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
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
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
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