pub struct FileReadEvent {
pub read_id: u64,
pub data: Result<Vec<u8>, String>,
}
Fields§
§read_id: u64
§data: Result<Vec<u8>, String>
Trait Implementations§
Source§impl Clone for FileReadEvent
impl Clone for FileReadEvent
Source§fn clone(&self) -> FileReadEvent
fn clone(&self) -> FileReadEvent
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 FileReadEvent
impl Debug for FileReadEvent
Source§impl PartialEq for FileReadEvent
impl PartialEq for FileReadEvent
impl StructuralPartialEq for FileReadEvent
Auto Trait Implementations§
impl Freeze for FileReadEvent
impl RefUnwindSafe for FileReadEvent
impl Send for FileReadEvent
impl Sync for FileReadEvent
impl Unpin for FileReadEvent
impl UnwindSafe for FileReadEvent
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