pub struct LocalEvidence<P> {
pub upload: i64,
pub location: FileLocation,
pub of: MoveId,
pub original: Option<PathBuf>,
pub record: Option<P>,
pub moving: Option<P>,
}Expand description
What this device knows locally about a file it uploads (§17.6): the upload, where its bytes go, its move, and the records about each.
Fields§
§upload: i64The upload’s queue id.
location: FileLocationWhere its bytes go, with their key.
of: MoveIdThe move it belongs to.
original: Option<PathBuf>The file’s original, for a user’s file.
record: Option<P>This device’s record about the upload’s bytes.
moving: Option<P>The move’s record.
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for LocalEvidence<P>where
P: Freeze,
impl<P> RefUnwindSafe for LocalEvidence<P>where
P: RefUnwindSafe,
impl<P> Send for LocalEvidence<P>where
P: Send,
impl<P> Sync for LocalEvidence<P>where
P: Sync,
impl<P> Unpin for LocalEvidence<P>where
P: Unpin,
impl<P> UnsafeUnpin for LocalEvidence<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for LocalEvidence<P>where
P: 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