Struct blob_stream::protocol_front::AckChunkFrontData
source · pub struct AckChunkFrontData {
pub transfer_id: TransferId,
pub data: AckChunkData,
}
Fields§
§transfer_id: TransferId
§data: AckChunkData
Implementations§
source§impl AckChunkFrontData
impl AckChunkFrontData
sourcepub fn to_stream(&self, stream: &mut dyn WriteOctetStream) -> Result<()>
pub fn to_stream(&self, stream: &mut dyn WriteOctetStream) -> Result<()>
§Errors
This function will return an io::Error
if there is an issue with writing to the stream.
This could happen if the stream is closed or if there are underlying I/O errors during the write operation.
sourcepub fn from_stream(stream: &mut dyn ReadOctetStream) -> Result<Self>
pub fn from_stream(stream: &mut dyn ReadOctetStream) -> Result<Self>
§Errors
This function will return an io::Error
if there is an issue with writing to the stream.
This could happen if the stream is closed or if there are underlying I/O errors during the write operation.
Trait Implementations§
source§impl Clone for AckChunkFrontData
impl Clone for AckChunkFrontData
source§fn clone(&self) -> AckChunkFrontData
fn clone(&self) -> AckChunkFrontData
Returns a copy 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 Debug for AckChunkFrontData
impl Debug for AckChunkFrontData
source§impl PartialEq for AckChunkFrontData
impl PartialEq for AckChunkFrontData
impl Eq for AckChunkFrontData
impl StructuralPartialEq for AckChunkFrontData
Auto Trait Implementations§
impl Freeze for AckChunkFrontData
impl RefUnwindSafe for AckChunkFrontData
impl Send for AckChunkFrontData
impl Sync for AckChunkFrontData
impl Unpin for AckChunkFrontData
impl UnwindSafe for AckChunkFrontData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)