pub struct FileAckValue<A> {
pub transfer_id: u32,
pub kind: FileAckKind,
pub next_offset: u32,
pub chunk_size: u32,
pub error: FileAckError,
/* private fields */
}Expand description
Value type used to encode a FileAck message.
Fields§
§transfer_id: u32§kind: FileAckKind§next_offset: u32§chunk_size: u32§error: FileAckErrorImplementations§
Source§impl<A> FileAckValue<A>
impl<A> FileAckValue<A>
pub fn new( transfer_id: u32, kind: FileAckKind, next_offset: u32, chunk_size: u32, error: FileAckError, ) -> Self
Trait Implementations§
Source§impl<A: Clone> Clone for FileAckValue<A>
impl<A: Clone> Clone for FileAckValue<A>
Source§fn clone(&self) -> FileAckValue<A>
fn clone(&self) -> FileAckValue<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: Debug> Debug for FileAckValue<A>
impl<A: Debug> Debug for FileAckValue<A>
Source§impl<A> EncodeCapnp<<A as Atlas>::FileAck> for FileAckValue<A>where
A: Atlas,
impl<A> EncodeCapnp<<A as Atlas>::FileAck> for FileAckValue<A>where
A: Atlas,
Source§impl<A: PartialEq> PartialEq for FileAckValue<A>
impl<A: PartialEq> PartialEq for FileAckValue<A>
impl<A: Copy> Copy for FileAckValue<A>
impl<A: Eq> Eq for FileAckValue<A>
impl<A> StructuralPartialEq for FileAckValue<A>
Auto Trait Implementations§
impl<A> Freeze for FileAckValue<A>
impl<A> RefUnwindSafe for FileAckValue<A>where
A: RefUnwindSafe,
impl<A> Send for FileAckValue<A>where
A: Send,
impl<A> Sync for FileAckValue<A>where
A: Sync,
impl<A> Unpin for FileAckValue<A>where
A: Unpin,
impl<A> UnsafeUnpin for FileAckValue<A>
impl<A> UnwindSafe for FileAckValue<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