pub struct FileChunkValue<'a, A> {
pub transfer_id: u32,
pub offset: u32,
pub data: &'a [u8],
/* private fields */
}Expand description
Value type used to encode a FileChunk message for a specific atlas marker type A.
Fields§
§transfer_id: u32§offset: u32§data: &'a [u8]Implementations§
Trait Implementations§
Source§impl<'a, A: Clone> Clone for FileChunkValue<'a, A>
impl<'a, A: Clone> Clone for FileChunkValue<'a, A>
Source§fn clone(&self) -> FileChunkValue<'a, A>
fn clone(&self) -> FileChunkValue<'a, A>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, A: Debug> Debug for FileChunkValue<'a, A>
impl<'a, A: Debug> Debug for FileChunkValue<'a, A>
Source§impl<'a, A> EncodeCapnp<<A as Atlas>::FileChunk> for FileChunkValue<'a, A>where
A: Atlas,
impl<'a, A> EncodeCapnp<<A as Atlas>::FileChunk> for FileChunkValue<'a, A>where
A: Atlas,
Source§impl<'a, A: PartialEq> PartialEq for FileChunkValue<'a, A>
impl<'a, A: PartialEq> PartialEq for FileChunkValue<'a, A>
impl<'a, A: Copy> Copy for FileChunkValue<'a, A>
impl<'a, A: Eq> Eq for FileChunkValue<'a, A>
impl<'a, A> StructuralPartialEq for FileChunkValue<'a, A>
Auto Trait Implementations§
impl<'a, A> Freeze for FileChunkValue<'a, A>
impl<'a, A> RefUnwindSafe for FileChunkValue<'a, A>where
A: RefUnwindSafe,
impl<'a, A> Send for FileChunkValue<'a, A>where
A: Send,
impl<'a, A> Sync for FileChunkValue<'a, A>where
A: Sync,
impl<'a, A> Unpin for FileChunkValue<'a, A>where
A: Unpin,
impl<'a, A> UnsafeUnpin for FileChunkValue<'a, A>
impl<'a, A> UnwindSafe for FileChunkValue<'a, A>where
A: 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