pub enum ParentClosePolicy {
Abandon,
RequestCancel,
Terminate,
}Expand description
Server behavior when a parent closes while its child is still open.
Variants§
Trait Implementations§
Source§impl Clone for ParentClosePolicy
impl Clone for ParentClosePolicy
Source§fn clone(&self) -> ParentClosePolicy
fn clone(&self) -> ParentClosePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParentClosePolicy
Source§impl Debug for ParentClosePolicy
impl Debug for ParentClosePolicy
Source§impl Default for ParentClosePolicy
impl Default for ParentClosePolicy
Source§fn default() -> ParentClosePolicy
fn default() -> ParentClosePolicy
Returns the “default value” for a type. Read more
impl Eq for ParentClosePolicy
Source§impl PartialEq for ParentClosePolicy
impl PartialEq for ParentClosePolicy
impl StructuralPartialEq for ParentClosePolicy
Auto Trait Implementations§
impl Freeze for ParentClosePolicy
impl RefUnwindSafe for ParentClosePolicy
impl Send for ParentClosePolicy
impl Sync for ParentClosePolicy
impl Unpin for ParentClosePolicy
impl UnsafeUnpin for ParentClosePolicy
impl UnwindSafe for ParentClosePolicy
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