pub struct BatchReadResult {
pub data: Option<Vec<u8>>,
pub error: String,
}Expand description
Result of a single file in a batch read, in request order.
Fields§
§data: Option<Vec<u8>>File contents, or None when the read failed.
error: StringDiagnostic message; empty on success.
Implementations§
Trait Implementations§
Source§impl Clone for BatchReadResult
impl Clone for BatchReadResult
Source§fn clone(&self) -> BatchReadResult
fn clone(&self) -> BatchReadResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatchReadResult
impl Debug for BatchReadResult
impl Eq for BatchReadResult
Source§impl PartialEq for BatchReadResult
impl PartialEq for BatchReadResult
impl StructuralPartialEq for BatchReadResult
Auto Trait Implementations§
impl Freeze for BatchReadResult
impl RefUnwindSafe for BatchReadResult
impl Send for BatchReadResult
impl Sync for BatchReadResult
impl Unpin for BatchReadResult
impl UnsafeUnpin for BatchReadResult
impl UnwindSafe for BatchReadResult
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