pub struct ObjectWriterBuffer {
pub complete: bool,
pub error: bool,
pub data: Vec<u8>,
pub meta: ObjectMetadata,
pub start_time: SystemTime,
pub end_time: Option<SystemTime>,
}Expand description
Object stored in a buffer
Fields§
§complete: booltrue when the object is fully received
error: booltrue when an error occured during the reception
data: Vec<u8>buffer containing the data of the object
meta: ObjectMetadataMetadata of the object
start_time: SystemTimeTime when the object reception started
end_time: Option<SystemTime>Time when the object reception ended
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjectWriterBuffer
impl RefUnwindSafe for ObjectWriterBuffer
impl Send for ObjectWriterBuffer
impl Sync for ObjectWriterBuffer
impl Unpin for ObjectWriterBuffer
impl UnwindSafe for ObjectWriterBuffer
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