pub struct RuntimeBuilder { /* private fields */ }Implementations§
Source§impl RuntimeBuilder
impl RuntimeBuilder
pub fn object_limits( &mut self, limits: ObjectLimits, ) -> Result<&mut Self, RuntimeError>
pub fn register_object_exclusive<T: DistributedObject>( &mut self, ) -> Result<&mut Self, RuntimeError>
pub fn register_object_read_write<T: DistributedObject + Sync>( &mut self, ) -> Result<&mut Self, RuntimeError>
Sourcepub fn register_mobile_object_exclusive<T: MobileObject>(
&mut self,
) -> Result<&mut Self, RuntimeError>
pub fn register_mobile_object_exclusive<T: MobileObject>( &mut self, ) -> Result<&mut Self, RuntimeError>
Registers an exclusive migratable or reconstructible object type.
§Errors
Returns a sealed-builder, duplicate ID/type, pinned mobility, invalid schema, or registry collision error.
Sourcepub fn register_mobile_object_read_write<T: MobileObject + Sync>(
&mut self,
) -> Result<&mut Self, RuntimeError>
pub fn register_mobile_object_read_write<T: MobileObject + Sync>( &mut self, ) -> Result<&mut Self, RuntimeError>
Registers a read/write migratable or reconstructible object type.
§Errors
Returns a sealed-builder, duplicate ID/type, pinned mobility, invalid schema, or registry collision error.
pub fn register_object_read<T, A>(&mut self) -> Result<&mut Self, RuntimeError>
pub fn register_object_write<T, A>(&mut self) -> Result<&mut Self, RuntimeError>where
T: DistributedObject,
A: ObjectWriteAction<T>,
pub fn register<A, F>(&mut self, handler: F) -> Result<&mut Self, RuntimeError>
pub fn domain( &mut self, config: DomainConfig, ) -> Result<&mut Self, RuntimeError>
pub fn hello(&mut self) -> Result<Hello, RuntimeError>
pub fn start<H, D>(self, handle: H, driver: D) -> Result<Runtime, RuntimeError>where
H: TransportHandle + 'static,
D: TransportDriver + 'static,
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeBuilder
impl !UnwindSafe for RuntimeBuilder
impl Freeze for RuntimeBuilder
impl Send for RuntimeBuilder
impl Sync for RuntimeBuilder
impl Unpin for RuntimeBuilder
impl UnsafeUnpin for RuntimeBuilder
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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
§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<Src> TryFrom<Src> for Src
impl<Src> TryFrom<Src> for Src
§impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
§impl<Src> ValueFrom<Src> for Src
impl<Src> ValueFrom<Src> for Src
§fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
Convert the given value into an exactly equivalent representation.