Skip to main content

MotorDeviceCache

Struct MotorDeviceCache 

Source
pub struct MotorDeviceCache { /* private fields */ }

Implementations§

Source§

impl MotorDeviceCache

Source

pub fn new() -> MotorDeviceCache

Source

pub fn ingest_neuron_data_and_run_callbacks( &mut self, neuron_data: CorticalMappedXYZPNeuronVoxels, time_of_decode: Instant, ) -> Result<(), FeagiDataError>

Ingest already-decoded motor neuron data and run callbacks.

This is a zero-copy convenience for callers that already have a decoded CorticalMappedXYZPNeuronVoxels (e.g. from feagi-agent’s motor receive path), avoiding a re-serialization into FeagiByteContainer.

§Arguments
  • neuron_data: decoded motor neuron voxels as published by FEAGI
  • time_of_decode: timestamp used for callback timing logic
Source

pub fn reset(&mut self)

Source

pub fn verify_existence( &self, motor_cortical_unit: MotorCorticalUnit, unit_index: CorticalUnitIndex, cortical_channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn rotary_motor_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>

Source

pub fn rotary_motor_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SignedPercentage, FeagiDataError>

Source

pub fn rotary_motor_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SignedPercentage, FeagiDataError>

Source

pub fn rotary_motor_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn rotary_motor_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn rotary_motor_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn rotary_motor_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn rotary_motor_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn rotary_motor_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn rotary_motor_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn rotary_motor_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn positional_servo_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>

Source

pub fn positional_servo_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SignedPercentage, FeagiDataError>

Source

pub fn positional_servo_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<SignedPercentage, FeagiDataError>

Source

pub fn positional_servo_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn positional_servo_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn positional_servo_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn positional_servo_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn positional_servo_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn positional_servo_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn positional_servo_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn positional_servo_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn gaze_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, eccentricity_z_neuron_resolution: NeuronDepth, modulation_z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>

Source

pub fn gaze_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<GazeProperties, FeagiDataError>

Source

pub fn gaze_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<GazeProperties, FeagiDataError>

Source

pub fn gaze_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn gaze_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn gaze_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn gaze_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn gaze_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn gaze_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn gaze_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn gaze_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, misc_data_dimensions: MiscDataDimensions, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn misc_data_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn misc_data_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn misc_data_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn misc_data_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn misc_data_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn misc_data_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_output_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, misc_data_dimensions: MiscDataDimensions, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_output_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn text_english_output_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn text_english_output_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn text_english_output_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn text_english_output_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn text_english_output_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_output_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_output_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_output_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn text_english_output_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn count_output_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>

Source

pub fn count_output_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn count_output_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<Percentage, FeagiDataError>

Source

pub fn count_output_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn count_output_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn count_output_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn count_output_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn count_output_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn count_output_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn count_output_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn count_output_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn object_segmentation_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, misc_data_dimensions: MiscDataDimensions, ) -> Result<(), FeagiDataError>

Source

pub fn object_segmentation_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn object_segmentation_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<MiscData, FeagiDataError>

Source

pub fn object_segmentation_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn object_segmentation_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn object_segmentation_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn object_segmentation_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn object_segmentation_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn object_segmentation_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn object_segmentation_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn object_segmentation_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn simple_vision_output_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, image_properties: ImageFrameProperties, ) -> Result<(), FeagiDataError>

Source

pub fn simple_vision_output_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<ImageFrame, FeagiDataError>

Source

pub fn simple_vision_output_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<ImageFrame, FeagiDataError>

Source

pub fn simple_vision_output_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn simple_vision_output_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn simple_vision_output_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn simple_vision_output_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn simple_vision_output_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn simple_vision_output_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn simple_vision_output_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn simple_vision_output_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn dynamic_image_processing_register( &mut self, unit: CorticalUnitIndex, number_channels: CorticalChannelCount, frame_change_handling: FrameChangeHandling, z_neuron_resolution: NeuronDepth, percentage_neuron_positioning: PercentageNeuronPositioning, ) -> Result<(), FeagiDataError>

Source

pub fn dynamic_image_processing_read_preprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<ImageFilteringSettings, FeagiDataError>

Source

pub fn dynamic_image_processing_read_postprocessed_cache_value( &self, unit: CorticalUnitIndex, channel: CorticalChannelIndex, ) -> Result<ImageFilteringSettings, FeagiDataError>

Source

pub fn dynamic_image_processing_try_register_motor_callback<F>( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, callback: F, ) -> Result<FeagiSignalIndex, FeagiDataError>
where F: Fn(&WrappedIOData) + Send + Sync + 'static,

Source

pub fn dynamic_image_processing_get_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, stage_index: PipelineStagePropertyIndex, ) -> Result<PipelineStageProperties, FeagiDataError>

Source

pub fn dynamic_image_processing_get_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<Vec<PipelineStageProperties>, FeagiDataError>

Source

pub fn dynamic_image_processing_update_single_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, updating_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn dynamic_image_processing_update_all_stage_properties( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, updated_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn dynamic_image_processing_replace_single_stage( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, pipeline_stage_property_index: PipelineStagePropertyIndex, replacing_property: PipelineStageProperties, ) -> Result<(), FeagiDataError>

Source

pub fn dynamic_image_processing_replace_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, new_pipeline_stage_properties: Vec<PipelineStageProperties>, ) -> Result<(), FeagiDataError>

Source

pub fn dynamic_image_processing_removing_all_stages( &mut self, unit: CorticalUnitIndex, channel_index: CorticalChannelIndex, ) -> Result<(), FeagiDataError>

Source

pub fn get_feagi_byte_container(&self) -> &FeagiByteContainer

Source

pub fn get_feagi_byte_container_mut(&mut self) -> &mut FeagiByteContainer

Source

pub fn get_neurons(&self) -> &CorticalMappedXYZPNeuronVoxels

Source

pub fn try_decode_bytes_to_neural_data( &mut self, ) -> Result<bool, FeagiDataError>

Source

pub fn try_decode_neural_data_into_cache( &mut self, time_of_decode: Instant, ) -> Result<(), FeagiDataError>

Source

pub fn import_from_output_definition( &mut self, replacing_definition: &JSONInputOutputDefinition, ) -> Result<(), FeagiDataError>

Source

pub fn export_to_output_definition( &self, filling_definition: &mut JSONInputOutputDefinition, ) -> Result<(), FeagiDataError>

Trait Implementations§

Source§

impl Debug for MotorDeviceCache

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for MotorDeviceCache

Source§

fn default() -> MotorDeviceCache

Returns the “default value” for a type. Read more
Source§

impl Display for MotorDeviceCache

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

Source§

fn read_from_little_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
Source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> ToStringFallible for T
where T: Display,

Source§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more