Struct cloud_filter::filter::info::Dehydrate
source · pub struct Dehydrate(/* private fields */);
Expand description
Information for the SyncFilter::dehydrate callback.
Implementations§
source§impl Dehydrate
impl Dehydrate
sourcepub fn background(&self) -> bool
pub fn background(&self) -> bool
Whether or not the callback was called from a system background service.
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 Dehydrate
impl RefUnwindSafe for Dehydrate
impl Send for Dehydrate
impl Sync for Dehydrate
impl Unpin for Dehydrate
impl UnwindSafe for Dehydrate
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