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