pub enum LifespanPolicy {
Transient,
Persistent,
}Expand description
POA-Lifespan-Policy (Spec §11.3.5).
Variants§
Transient
Default: Object-Refs gelten nur fuer ORB-Lifetime.
Persistent
Object-Refs ueberleben ORB-Restart.
Trait Implementations§
Source§impl Clone for LifespanPolicy
impl Clone for LifespanPolicy
Source§fn clone(&self) -> LifespanPolicy
fn clone(&self) -> LifespanPolicy
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 LifespanPolicy
impl Debug for LifespanPolicy
Source§impl PartialEq for LifespanPolicy
impl PartialEq for LifespanPolicy
Source§fn eq(&self, other: &LifespanPolicy) -> bool
fn eq(&self, other: &LifespanPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LifespanPolicy
impl Eq for LifespanPolicy
impl StructuralPartialEq for LifespanPolicy
Auto Trait Implementations§
impl Freeze for LifespanPolicy
impl RefUnwindSafe for LifespanPolicy
impl Send for LifespanPolicy
impl Sync for LifespanPolicy
impl Unpin for LifespanPolicy
impl UnsafeUnpin for LifespanPolicy
impl UnwindSafe for LifespanPolicy
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