pub enum ServantRetentionPolicy {
Retain,
NonRetain,
}Expand description
POA-ServantRetention-Policy (§11.3.9).
Variants§
Trait Implementations§
Source§impl Clone for ServantRetentionPolicy
impl Clone for ServantRetentionPolicy
Source§fn clone(&self) -> ServantRetentionPolicy
fn clone(&self) -> ServantRetentionPolicy
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 moreSource§impl Debug for ServantRetentionPolicy
impl Debug for ServantRetentionPolicy
Source§impl PartialEq for ServantRetentionPolicy
impl PartialEq for ServantRetentionPolicy
Source§fn eq(&self, other: &ServantRetentionPolicy) -> bool
fn eq(&self, other: &ServantRetentionPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ServantRetentionPolicy
impl Eq for ServantRetentionPolicy
impl StructuralPartialEq for ServantRetentionPolicy
Auto Trait Implementations§
impl Freeze for ServantRetentionPolicy
impl RefUnwindSafe for ServantRetentionPolicy
impl Send for ServantRetentionPolicy
impl Sync for ServantRetentionPolicy
impl Unpin for ServantRetentionPolicy
impl UnsafeUnpin for ServantRetentionPolicy
impl UnwindSafe for ServantRetentionPolicy
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