pub struct Dehydrated(/* private fields */);
Expand description
Information for the SyncFilter::dehydrated callback.
Implementations§
Source§impl Dehydrated
impl Dehydrated
Sourcepub fn background(&self) -> bool
pub fn background(&self) -> bool
Whether or not the callback was called from a system background service.
Sourcepub fn already_hydrated(&self) -> bool
pub fn already_hydrated(&self) -> bool
Whether or not the placeholder was already hydrated.
Sourcepub fn reason(&self) -> Option<DehydrationReason>
pub fn reason(&self) -> Option<DehydrationReason>
The reason the file is being dehydrated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dehydrated
impl RefUnwindSafe for Dehydrated
impl Send for Dehydrated
impl Sync for Dehydrated
impl Unpin for Dehydrated
impl UnwindSafe for Dehydrated
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