Struct bird_protocol::types::WriteRemainingBytesArray
source · [−]pub struct WriteRemainingBytesArray<'a, T> {
pub value: &'a Vec<T>,
}Fields
value: &'a Vec<T>Trait Implementations
sourceimpl<'a, T> From<&'a Vec<T, Global>> for WriteRemainingBytesArray<'a, T>
impl<'a, T> From<&'a Vec<T, Global>> for WriteRemainingBytesArray<'a, T>
sourceimpl<'a, T: PacketWritable + Send + Sync> PacketWritable for WriteRemainingBytesArray<'a, T>
impl<'a, T: PacketWritable + Send + Sync> PacketWritable for WriteRemainingBytesArray<'a, T>
fn write<'life0, 'life1, 'async_trait>(
&'life0 self,
output: &'life1 mut impl 'async_trait + OutputPacketBytes
) -> Pin<Box<dyn Future<Output = PacketWritableResult> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for WriteRemainingBytesArray<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for WriteRemainingBytesArray<'a, T> where
T: Sync,
impl<'a, T> Sync for WriteRemainingBytesArray<'a, T> where
T: Sync,
impl<'a, T> Unpin for WriteRemainingBytesArray<'a, T>
impl<'a, T> UnwindSafe for WriteRemainingBytesArray<'a, T> where
T: RefUnwindSafe,
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