Enum silx_core::utils::FiledStarter
source · pub enum FiledStarter {
Main {
builders: BTreeMap<SocketAddr, RecFiled<FiledClusterBuilder>>,
flow: BTreeMap<String, Filed<Channel>>,
main: SocketAddr,
},
Listener {
main: SocketAddr,
this: SocketAddr,
},
}Expand description
Filed definition of a starter, i.e. this definition contains files names in order to serialize into different sub-files.
- starters comes with two variants:
MainandListener
Variants§
Main
Fields
§
builders: BTreeMap<SocketAddr, RecFiled<FiledClusterBuilder>>List of the clusters definitions with their socket address
§
main: SocketAddrSocket address of the main cluster
Definition of the main cluster
Listener
Fields
§
main: SocketAddrSocket address of the main cluster
§
this: SocketAddrSocket address of this cluster
Definition of a slave cluster: this cluster will await parameters from the main
Trait Implementations§
source§impl Clone for FiledStarter
impl Clone for FiledStarter
source§fn clone(&self) -> FiledStarter
fn clone(&self) -> FiledStarter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FiledStarter
impl Debug for FiledStarter
source§impl<'de> Deserialize<'de> for FiledStarter
impl<'de> Deserialize<'de> for FiledStarter
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Filable for FiledStarter
impl Filable for FiledStarter
source§fn load<P: AsRef<Path>>(&mut self, path: P) -> Result<bool, String>
fn load<P: AsRef<Path>>(&mut self, path: P) -> Result<bool, String>
Load all missing data from files; bool indicates if already loaded (false) or not Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FiledStarter
impl Send for FiledStarter
impl !Sync for FiledStarter
impl Unpin for FiledStarter
impl !UnwindSafe for FiledStarter
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§impl<T> HashedTypeUuid for T
impl<T> HashedTypeUuid for T
§fn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_native<REF>() -> u128where
Self: HashedTypeDef<REF>,
return native type hash
§fn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_le<REF>() -> u128where
Self: HashedTypeDef<REF>,
return little endianess type hash
§fn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
fn type_hash_be<REF>() -> u128where
Self: HashedTypeDef<REF>,
return big endianess type hash
§fn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
fn type_uuid_hyphenated<REF>() -> Stringwhere
Self: HashedTypeDef<REF>,
return uuid hyphenated string
§fn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_native<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
return native type hash from instance
§fn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_le<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
return little endianess type hash from instance
§fn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
fn self_type_hash_be<REF>(&self) -> u128where
Self: HashedTypeDef<REF>,
return big endianess type hash from instance
§fn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
fn self_type_uuid<REF>(&self) -> Uuidwhere
Self: HashedTypeDef<REF>,
return type hash-derived uuid from instance
§fn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
fn self_type_uuid_hyphenated<REF>(&self) -> Stringwhere
Self: HashedTypeDef<REF>,
return uuid hyphenated string from instance