pub enum LifespanPolicy {
Transient,
Persistent,
}Expand description
POA lifespan policy (Spec §11.3.5).
Variants§
Transient
Default: object refs are valid only for the ORB lifetime.
Persistent
Object refs survive an 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 moreimpl Copy for LifespanPolicy
Source§impl Debug for LifespanPolicy
impl Debug for LifespanPolicy
impl Eq 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 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