pub enum PropagationPolicy {
Orphan,
Background,
Foreground,
}
Expand description
Propagation policy when deleting single objects
Variants§
Orphan
Orphan dependents
Background
Allow the garbage collector to delete the dependents in the background
Foreground
A cascading policy that deletes all dependents in the foreground
Trait Implementations§
source§impl Clone for PropagationPolicy
impl Clone for PropagationPolicy
source§fn clone(&self) -> PropagationPolicy
fn clone(&self) -> PropagationPolicy
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 PropagationPolicy
impl Debug for PropagationPolicy
source§impl PartialEq for PropagationPolicy
impl PartialEq for PropagationPolicy
source§impl Serialize for PropagationPolicy
impl Serialize for PropagationPolicy
impl StructuralPartialEq for PropagationPolicy
Auto Trait Implementations§
impl Freeze for PropagationPolicy
impl RefUnwindSafe for PropagationPolicy
impl Send for PropagationPolicy
impl Sync for PropagationPolicy
impl Unpin for PropagationPolicy
impl UnwindSafe for PropagationPolicy
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)