intel-cache-lib 2.0.0

Library for interacting with IntelCache
Documentation
1
2
3
4
5
6
7
8
9
use crate::ic_types::{ic_execute_mod::IcExecute,IcError,IcConnection};
/// Trait used to create,load and execute module commands which gets parsed from `IcPacket`s.

pub trait IcModule {
	fn icm_load(&mut self);
	fn icm_get_name(&self) -> &str;
	fn icm_get_version(&self) -> &str;
	fn icm_get_command(&self,cmd: Vec<String>) -> Result<Box<dyn IcExecute<Connection = IcConnection>>,IcError>;
}