pub struct RegistrationBatch {
pub dependencies: Dependencies,
pub operations: Vec<OperationFactory>,
pub services: Vec<ServiceFactory>,
}Fields§
§dependencies: Dependencies§operations: Vec<OperationFactory>§services: Vec<ServiceFactory>Implementations§
Source§impl RegistrationBatch
impl RegistrationBatch
pub fn new(dependencies: Dependencies) -> RegistrationBatch
pub fn operation<O>(self) -> RegistrationBatchwhere
O: Executable,
pub fn service<S>(
self,
local_id: &str,
policy: ServicePolicy,
) -> RegistrationBatchwhere
S: Service,
Trait Implementations§
Source§impl Clone for RegistrationBatch
impl Clone for RegistrationBatch
Source§fn clone(&self) -> RegistrationBatch
fn clone(&self) -> RegistrationBatch
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 RegistrationExt for RegistrationBatch
impl RegistrationExt for RegistrationBatch
fn lane<L: Lane>(self, lane: L) -> Registration<L>
fn defaults<L: Lane>(self) -> Registration<L>
Auto Trait Implementations§
impl !RefUnwindSafe for RegistrationBatch
impl !UnwindSafe for RegistrationBatch
impl Freeze for RegistrationBatch
impl Send for RegistrationBatch
impl Sync for RegistrationBatch
impl Unpin for RegistrationBatch
impl UnsafeUnpin for RegistrationBatch
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