pub struct PoaBuilder {
pub thread_policy: ThreadPolicy,
pub lifespan_policy: LifespanPolicy,
pub id_assignment_policy: IdAssignmentPolicy,
pub id_uniqueness_policy: IdUniquenessPolicy,
pub implicit_activation_policy: ImplicitActivationPolicy,
pub servant_retention_policy: ServantRetentionPolicy,
pub request_processing_policy: RequestProcessingPolicy,
}Expand description
CORBA POA builder for server-side object activation.
Spec §11.3 defines 7 policies; all have sensible defaults
for typical embedded/server use cases. The end user
overrides selectively via with_* methods and calls build()
for the final PoaConfiguration.
Fields§
§thread_policy: ThreadPolicyThreading policy (Spec §11.3.4).
lifespan_policy: LifespanPolicyLifespan policy (§11.3.5).
id_assignment_policy: IdAssignmentPolicyIdAssignment policy (§11.3.6).
id_uniqueness_policy: IdUniquenessPolicyIdUniqueness policy (§11.3.7).
implicit_activation_policy: ImplicitActivationPolicyImplicitActivation policy (§11.3.8).
servant_retention_policy: ServantRetentionPolicyServantRetention policy (§11.3.9).
request_processing_policy: RequestProcessingPolicyRequestProcessing policy (§11.3.10).
Implementations§
Source§impl PoaBuilder
impl PoaBuilder
Trait Implementations§
Source§impl Clone for PoaBuilder
impl Clone for PoaBuilder
Source§fn clone(&self) -> PoaBuilder
fn clone(&self) -> PoaBuilder
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 PoaBuilder
impl Debug for PoaBuilder
Source§impl Default for PoaBuilder
impl Default for PoaBuilder
impl Eq for PoaBuilder
Source§impl PartialEq for PoaBuilder
impl PartialEq for PoaBuilder
Source§fn eq(&self, other: &PoaBuilder) -> bool
fn eq(&self, other: &PoaBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PoaBuilder
Auto Trait Implementations§
impl Freeze for PoaBuilder
impl RefUnwindSafe for PoaBuilder
impl Send for PoaBuilder
impl Sync for PoaBuilder
impl Unpin for PoaBuilder
impl UnsafeUnpin for PoaBuilder
impl UnwindSafe for PoaBuilder
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