pub struct ExistingDst<'a, M: Metadata> {
pub meta: &'a M,
pub is_file: bool,
}Expand description
A destination entry the source compares against, taken from the directory manifest.
Fields§
§meta: &'a MThe destination entry’s metadata (with size() populated).
is_file: boolWhether the destination entry is a regular file (only files are eligible for the metadata-equality compare; a non-file means the source must send so the destination can remove-and-replace it).
Auto Trait Implementations§
impl<'a, M> Freeze for ExistingDst<'a, M>
impl<'a, M> RefUnwindSafe for ExistingDst<'a, M>where
M: RefUnwindSafe,
impl<'a, M> Send for ExistingDst<'a, M>where
M: Sync,
impl<'a, M> Sync for ExistingDst<'a, M>where
M: Sync,
impl<'a, M> Unpin for ExistingDst<'a, M>
impl<'a, M> UnsafeUnpin for ExistingDst<'a, M>
impl<'a, M> UnwindSafe for ExistingDst<'a, M>where
M: RefUnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request