pub struct ImageAcquisition { /* private fields */ }Expand description
Image acquisition
Implementations§
Source§impl ImageAcquisition
impl ImageAcquisition
Sourcepub fn initialize(&mut self) -> Result<(), MedicalError>
pub fn initialize(&mut self) -> Result<(), MedicalError>
Mark the ImageAcquisition subsystem initialized (ready flag).
Sourcepub fn add_acquisition_protocol(&mut self, protocol: AcquisitionProtocol)
pub fn add_acquisition_protocol(&mut self, protocol: AcquisitionProtocol)
Register a acquisition protocol entry.
Sourcepub fn get_acquisition_protocol(
&self,
protocol_id: &str,
) -> Option<&AcquisitionProtocol>
pub fn get_acquisition_protocol( &self, protocol_id: &str, ) -> Option<&AcquisitionProtocol>
Look up a acquisition protocol by id.
Sourcepub fn quality_control(&self) -> &QualityControl
pub fn quality_control(&self) -> &QualityControl
The quality-control sub-registry.
Auto Trait Implementations§
impl Freeze for ImageAcquisition
impl RefUnwindSafe for ImageAcquisition
impl Send for ImageAcquisition
impl Sync for ImageAcquisition
impl Unpin for ImageAcquisition
impl UnsafeUnpin for ImageAcquisition
impl UnwindSafe for ImageAcquisition
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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