pub enum MessageKey {
Show 419 variants
AppVersion,
AppTitle,
AppDescription,
BasicCommands,
ExecutionCommands,
InformationCommands,
ConfigCommands,
UtilityCommands,
SmartCommands,
CmdAdd,
CmdList,
CmdRemove,
CmdClear,
CmdRun,
CmdRestore,
CmdCleanup,
CmdStatus,
CmdHistory,
CmdDashboard,
CmdEnable,
CmdDisable,
CmdSchedule,
CmdConfig,
CmdOpen,
CmdCompletion,
CmdSmart,
DescAdd,
DescList,
DescRemove,
DescClear,
DescRun,
DescRestore,
DescCleanup,
DescStatus,
DescHistory,
DescDashboard,
DescEnable,
DescDisable,
DescSchedule,
DescConfig,
DescOpen,
DescCompletion,
DescSmart,
CmdSmartDetect,
CmdSmartAnalyze,
CmdSmartSuggestExclude,
CmdSmartAutoConfigure,
DescSmartDetect,
DescSmartAnalyze,
DescSmartSuggestExclude,
DescSmartAutoConfigure,
SmartDetectTitle,
SmartDetectNoAnomalies,
SmartDetectAnomalyFound,
SmartAnalyzeTitle,
SmartAnalyzeImportanceHigh,
SmartAnalyzeImportanceMedium,
SmartAnalyzeImportanceLow,
SmartSuggestExcludeTitle,
SmartSuggestExcludeRecommendation,
SmartAutoConfigureTitle,
SmartAutoConfigureSuccess,
SmartDryRunModeLabel,
PathValidationFailed,
PathSafetyValidationFailed,
SmartExampleMaxDepthComment,
SmartExampleMaxSubdirsComment,
SmartExampleIncreaseSubdirsComment,
SmartAutoConfigureFeaturesHeader,
SmartFeatureEvaluateSubdirs,
SmartFeatureAutoDetectExclusions,
SmartFeatureHighConfidencePatterns,
SmartFeatureAutoDetectProjectTypes,
NoSubdirectoriesFound,
SubdirLimitReached,
SubdirLimitChangeHint,
SkippingExcludeAnalysisLarge,
FilesUnit,
AddToExcludeListPrompt,
SmartRecommendsAddPrompt,
AnalysisFailedLabel,
SmartErrorNotEnabled,
SmartErrorInsufficientData,
SmartErrorInsufficientDataDetailed,
SmartErrorAnalysisFailed,
SmartErrorAnalysisLabel,
HelpLabel,
Options,
HelpOption,
VersionOption,
UsageExamples,
ExampleAddInteractive,
ExampleRunHigh,
ExampleEncrypt,
ExampleCompress,
ExampleEncryptCompress,
ExampleCleanup,
ExampleSchedule,
ExampleSmartDetect,
ExampleSmartAnalyze,
ExampleSmartSuggestExclude,
ExampleSmartAutoConfigureComment,
ExampleSmartDryRunComment,
ExampleSmartInteractiveComment,
SmartRecommendedCommandLabel,
SmartNoExclusionsRecommended,
SmartAddToExcludeListPrompt,
SmartReductionLabel,
SmartAddedLabel,
SmartAutoConfigureErrorNoPath,
SmartAutoConfigureUsageExamples,
DetailedInfo,
DetailCommand,
ConfigFile,
BackupDestination,
Added,
Removed,
Deleted,
Error,
Warning,
BackupRunning,
RestoreStarting,
EncryptionPassword,
SavePasswordSecurely,
EncryptOption,
CompressOption,
CompressLevel,
IncrementalOption,
GeneratePasswordOption,
PasswordOption,
DryRunOption,
PriorityOption,
CategoryOption,
FromOption,
ToOption,
RestorePasswordOption,
DaysOption,
CleanupDryRunOption,
AddPriorityOption,
AddCategoryOption,
InteractiveOption,
ListPriorityOption,
ScheduleTitle,
ScheduleDescription,
ScheduleUsage,
ScheduleCommands,
ScheduleEnable,
ScheduleDisable,
ScheduleStatus,
ScheduleSetup,
ScheduleHelp,
ConfigTitle,
ConfigDescription,
ConfigUsage,
ConfigMgmtCommands,
ConfigSetDestination,
ConfigGetDestination,
ConfigSetKeepDays,
ConfigGetKeepDays,
ConfigOpen,
ConfigHelp,
ScheduleDetailedOptions,
ScheduleEnableOption,
ScheduleDisableOption,
ScheduleSetupOption,
ScheduleFrequencies,
ScheduleDaily,
ScheduleWeekly,
ScheduleMonthly,
ScheduleTips,
ScheduleTip1,
ScheduleTip2,
ScheduleTip3,
ConfigExampleExternal,
ConfigExampleGetDest,
ConfigExampleSetDays,
ConfigExampleOpen,
ConfigExampleTilde,
ConfigTip1,
ConfigTip2,
ConfigTip3,
NoTargetsRegistered,
SelectionCancelled,
ConfirmClearAll,
ConfirmClearPriority,
NoPriorityTargets,
ConfirmCleanup,
DaysOutOfRange,
PromptSelectTarget,
PromptSelectFile,
PathNotExists,
NotInBackupConfig,
SpecifyPriorityOrAll,
CountDeleted,
DryRun,
Category,
Encryption,
Compression,
ErrorDetails,
Detected,
NoBackups,
RestoreStart,
Restoring,
RestoredSuccess,
RestoredFileCount,
Deleting,
Destination,
Targets,
High,
Medium,
Low,
BackupHistory,
Days,
AutoBackupEnabled,
AutoBackupDisabled,
OpenDirectory,
PriorityScheduleSetup,
ScheduleSetupFailed,
LaunchctlUnloadWarning,
PriorityScheduleDeleted,
ScheduleNotConfigured,
ScheduleDeletionFailed,
ActualScheduleStatus,
Enabled,
Disabled,
ScheduleSettings,
ScheduleUpdated,
ScheduleUpdatedEnableLater,
HighPriority,
MediumPriority,
LowPriority,
DirectoryNotExists,
DirectoryCreating,
DestinationChanged,
Before,
After,
CurrentDestination,
KeepDaysOutOfRange,
KeepDaysChanged,
CurrentKeepDays,
OpeningConfigFile,
EditorDidNotExitCleanly,
RustFastTypeSafe,
ScheduleCommandPlaceholder,
ConfigCommandPlaceholder,
ConfigArgsPlaceholder,
MainHelp,
ConfigFileLabel,
EnableOnlySpecifiedPriority,
DisableOnlySpecifiedPriority,
SetExecutionFrequency,
EnableAllAutoBackups,
EnableHighOnly,
SetupScheduleFreq,
CheckCurrentConfig,
Files,
EncryptedLabel,
StatusTitle,
DaysUnit,
DryRunParens,
FilesDetected,
FullBackupMode,
IncrementalBackupMode,
BackupComplete,
BackupCompleteWithFailures,
BackupResultTitle,
TotalFilesLabel,
SuccessfulLabel,
FailedLabel,
TotalSizeLabel,
ConfirmRemoveTarget,
UpdatedTarget,
PathLabel,
PriorityLabel,
CategoryLabel,
ExcludePatternsLabel,
ItemLabel,
ValueLabel,
ImportanceScoreLabel,
RecommendedPriorityLabel,
ReasonLabel,
AnalyzingLabel,
AddedToConfiguration,
ItemsAdded,
ExistingBackupTargets,
AddNewTargets,
TimestampLabel,
PathHistoryLabel,
StatusHistoryLabel,
FilesHistoryLabel,
SizeLabel,
CompressionLabel,
EncryptionLabel,
DurationLabel,
EnabledLabel,
SecondsUnit,
ScheduleHeaderLabel,
ConfigurationLabel,
StatisticsTitle,
DiskUsageTitle,
AllNormalStatus,
WarningsTitle,
TotalTargetsLabel,
HighPriorityTargetsLabel,
MediumPriorityTargetsLabel,
LowPriorityTargetsLabel,
TotalBackupsLabel,
SuccessCountLabel,
TotalFilesCountLabel,
TotalDataSizeLabel,
LastBackupLabel,
EncryptedBackupsLabel,
CompressedBackupsLabel,
BackupDirectoryLabel,
UsedCapacityLabel,
FileCountLabel,
DiskTotalCapacityLabel,
DiskFreeCapacityLabel,
DiskUsageRateLabel,
UsageStatusLabel,
RecentBackupsTitle,
PreviousBackupLabel,
ChangedFilesLabel,
NoBackupsFound,
FullBackupFallback,
MetadataLoadFailed,
DryRunMode,
DaysAgo,
HoursAgo,
MinutesAgo,
JustNow,
NotYetBackedUp,
WarningTargetNotExists,
WarningDaysSinceLastBackup,
WarningNoBackupYet,
WarningFailedBackups,
WarningLowDiskSpace,
DashboardHintRunBackup,
PromptPleaseSelect,
PromptDeleteBackup,
PromptDeleteOldBackups,
PromptDeleteTarget,
PromptDeleteCount,
PromptConfirmDelete,
PromptSelectPriority,
PromptBackupConfirm,
SmartCategoryDirectory,
SmartCategoryRustProject,
SmartCategoryNodeJsProject,
SmartCategoryPythonProject,
SmartCategorySourceCodeProject,
SmartCategoryGitManaged,
SmartCategoryLowPriority,
SmartReasonSampling,
SmartReasonScore,
SmartReasonSecurityDir,
SmartReasonLowPriorityDir,
ExcludeReasonNpmDeps,
ExcludeReasonRustBuild,
ExcludeReasonVendor,
ExcludeReasonPythonCache,
ExcludeReasonPytestCache,
ExcludeReasonBuildArtifacts,
ExcludeReasonCacheDir,
ExcludeReasonGitMetadata,
ExcludeReasonSvnMetadata,
ExcludeReasonTempFile,
ExcludeReasonBackupFile,
ExcludeReasonEditorTemp,
ExcludeReasonLogFile,
ExcludeReasonMacOsMetadata,
ExcludeReasonWindowsThumb,
ExcludeReasonWindowsDesktop,
SmartDetectConfidenceLabel,
SmartDetectDescriptionLabel,
SmartDetectRecommendedActionLabel,
SmartDetectAnalyzing,
PasswordStrengthLabel,
PasswordStrengthWeak,
PasswordStrengthMedium,
PasswordStrengthStrong,
PasswordStrengthWeakMessage,
PasswordStrengthMediumMessage,
PasswordStrengthStrongMessage,
PasswordStrengthTip,
EditorLaunchFailed,
SubdirectoriesFound,
ProgressEvaluating,
ConfirmBackupTitle,
ConfirmBackupTargetFiles,
ConfirmBackupDestination,
ConfirmCleanupTitle,
ConfirmCleanupTargetCount,
ConfirmCleanupRetentionDays,
CleanupDryRunScheduled,
CleanupCompleted,
CleanupFailed,
RestoreDryRunDetected,
RestoreInProgress,
RestoreProgressFile,
RestoreIntegrityMetadataLoaded,
RestoreCompleted,
RestoreCompletedWithFailures,
ErrorRelativePathFailed,
ErrorPathTraversalDetected,
ErrorDirectoryCreateFailed,
ErrorFileReadFailed,
ErrorFileOpenFailedSymlink,
ErrorEncryptedButNoPassword,
ErrorMasterKeyRestoreFailed,
ErrorDecryptionFailed,
ErrorIntegrityVerificationFailed,
ErrorFileWriteFailed,
ErrorFileCountFailed,
BackupProgressProcessing,
ErrorBackupDirectoryCreateFailed,
ErrorBackupWriteFailed,
ErrorBackupProcessFailed,
ErrorBackupCopyFailed,
}Expand description
Message keys for internationalization
Variants§
AppVersion
AppTitle
AppDescription
BasicCommands
ExecutionCommands
InformationCommands
ConfigCommands
UtilityCommands
SmartCommands
CmdAdd
CmdList
CmdRemove
CmdClear
CmdRun
CmdRestore
CmdCleanup
CmdStatus
CmdHistory
CmdDashboard
CmdEnable
CmdDisable
CmdSchedule
CmdConfig
CmdOpen
CmdCompletion
CmdSmart
DescAdd
DescList
DescRemove
DescClear
DescRun
DescRestore
DescCleanup
DescStatus
DescHistory
DescDashboard
DescEnable
DescDisable
DescSchedule
DescConfig
DescOpen
DescCompletion
DescSmart
CmdSmartDetect
CmdSmartAnalyze
CmdSmartSuggestExclude
CmdSmartAutoConfigure
DescSmartDetect
DescSmartAnalyze
DescSmartSuggestExclude
DescSmartAutoConfigure
SmartDetectTitle
SmartDetectNoAnomalies
SmartDetectAnomalyFound
SmartAnalyzeTitle
SmartAnalyzeImportanceHigh
SmartAnalyzeImportanceMedium
SmartAnalyzeImportanceLow
SmartSuggestExcludeTitle
SmartSuggestExcludeRecommendation
SmartAutoConfigureTitle
SmartAutoConfigureSuccess
SmartDryRunModeLabel
PathValidationFailed
PathSafetyValidationFailed
SmartExampleMaxDepthComment
SmartExampleMaxSubdirsComment
SmartExampleIncreaseSubdirsComment
SmartAutoConfigureFeaturesHeader
SmartFeatureEvaluateSubdirs
SmartFeatureAutoDetectExclusions
SmartFeatureHighConfidencePatterns
SmartFeatureAutoDetectProjectTypes
NoSubdirectoriesFound
SubdirLimitReached
SubdirLimitChangeHint
SkippingExcludeAnalysisLarge
FilesUnit
AddToExcludeListPrompt
SmartRecommendsAddPrompt
AnalysisFailedLabel
SmartErrorNotEnabled
SmartErrorInsufficientData
SmartErrorInsufficientDataDetailed
SmartErrorAnalysisFailed
SmartErrorAnalysisLabel
HelpLabel
Options
HelpOption
VersionOption
UsageExamples
ExampleAddInteractive
ExampleRunHigh
ExampleEncrypt
ExampleCompress
ExampleEncryptCompress
ExampleCleanup
ExampleSchedule
ExampleSmartDetect
ExampleSmartAnalyze
ExampleSmartSuggestExclude
ExampleSmartAutoConfigureComment
ExampleSmartDryRunComment
ExampleSmartInteractiveComment
SmartRecommendedCommandLabel
SmartNoExclusionsRecommended
SmartAddToExcludeListPrompt
SmartReductionLabel
SmartAddedLabel
SmartAutoConfigureErrorNoPath
SmartAutoConfigureUsageExamples
DetailedInfo
DetailCommand
ConfigFile
BackupDestination
Added
Removed
Deleted
Error
Warning
BackupRunning
RestoreStarting
EncryptionPassword
SavePasswordSecurely
EncryptOption
CompressOption
CompressLevel
IncrementalOption
GeneratePasswordOption
PasswordOption
DryRunOption
PriorityOption
CategoryOption
FromOption
ToOption
RestorePasswordOption
DaysOption
CleanupDryRunOption
AddPriorityOption
AddCategoryOption
InteractiveOption
ListPriorityOption
ScheduleTitle
ScheduleDescription
ScheduleUsage
ScheduleCommands
ScheduleEnable
ScheduleDisable
ScheduleStatus
ScheduleSetup
ScheduleHelp
ConfigTitle
ConfigDescription
ConfigUsage
ConfigMgmtCommands
ConfigSetDestination
ConfigGetDestination
ConfigSetKeepDays
ConfigGetKeepDays
ConfigOpen
ConfigHelp
ScheduleDetailedOptions
ScheduleEnableOption
ScheduleDisableOption
ScheduleSetupOption
ScheduleFrequencies
ScheduleDaily
ScheduleWeekly
ScheduleMonthly
ScheduleTips
ScheduleTip1
ScheduleTip2
ScheduleTip3
ConfigExampleExternal
ConfigExampleGetDest
ConfigExampleSetDays
ConfigExampleOpen
ConfigExampleTilde
ConfigTip1
ConfigTip2
ConfigTip3
NoTargetsRegistered
SelectionCancelled
ConfirmClearAll
ConfirmClearPriority
NoPriorityTargets
ConfirmCleanup
DaysOutOfRange
PromptSelectTarget
PromptSelectFile
PathNotExists
NotInBackupConfig
SpecifyPriorityOrAll
CountDeleted
DryRun
Category
Encryption
Compression
ErrorDetails
Detected
NoBackups
RestoreStart
Restoring
RestoredSuccess
RestoredFileCount
Deleting
Destination
Targets
High
Medium
Low
BackupHistory
Days
AutoBackupEnabled
AutoBackupDisabled
OpenDirectory
PriorityScheduleSetup
ScheduleSetupFailed
LaunchctlUnloadWarning
PriorityScheduleDeleted
ScheduleNotConfigured
ScheduleDeletionFailed
ActualScheduleStatus
Enabled
Disabled
ScheduleSettings
ScheduleUpdated
ScheduleUpdatedEnableLater
HighPriority
MediumPriority
LowPriority
DirectoryNotExists
DirectoryCreating
DestinationChanged
Before
After
CurrentDestination
KeepDaysOutOfRange
KeepDaysChanged
CurrentKeepDays
OpeningConfigFile
EditorDidNotExitCleanly
RustFastTypeSafe
ScheduleCommandPlaceholder
ConfigCommandPlaceholder
ConfigArgsPlaceholder
MainHelp
ConfigFileLabel
EnableOnlySpecifiedPriority
DisableOnlySpecifiedPriority
SetExecutionFrequency
EnableAllAutoBackups
EnableHighOnly
SetupScheduleFreq
CheckCurrentConfig
Files
EncryptedLabel
StatusTitle
DaysUnit
DryRunParens
FilesDetected
FullBackupMode
IncrementalBackupMode
BackupComplete
BackupCompleteWithFailures
BackupResultTitle
TotalFilesLabel
SuccessfulLabel
FailedLabel
TotalSizeLabel
ConfirmRemoveTarget
UpdatedTarget
PathLabel
PriorityLabel
CategoryLabel
ExcludePatternsLabel
ItemLabel
ValueLabel
ImportanceScoreLabel
RecommendedPriorityLabel
ReasonLabel
AnalyzingLabel
AddedToConfiguration
ItemsAdded
ExistingBackupTargets
AddNewTargets
TimestampLabel
PathHistoryLabel
StatusHistoryLabel
FilesHistoryLabel
SizeLabel
CompressionLabel
EncryptionLabel
DurationLabel
EnabledLabel
SecondsUnit
ScheduleHeaderLabel
ConfigurationLabel
StatisticsTitle
DiskUsageTitle
AllNormalStatus
WarningsTitle
TotalTargetsLabel
HighPriorityTargetsLabel
MediumPriorityTargetsLabel
LowPriorityTargetsLabel
TotalBackupsLabel
SuccessCountLabel
TotalFilesCountLabel
TotalDataSizeLabel
LastBackupLabel
EncryptedBackupsLabel
CompressedBackupsLabel
BackupDirectoryLabel
UsedCapacityLabel
FileCountLabel
DiskTotalCapacityLabel
DiskFreeCapacityLabel
DiskUsageRateLabel
UsageStatusLabel
RecentBackupsTitle
PreviousBackupLabel
ChangedFilesLabel
NoBackupsFound
FullBackupFallback
MetadataLoadFailed
DryRunMode
DaysAgo
HoursAgo
MinutesAgo
JustNow
NotYetBackedUp
WarningTargetNotExists
WarningDaysSinceLastBackup
WarningNoBackupYet
WarningFailedBackups
WarningLowDiskSpace
DashboardHintRunBackup
PromptPleaseSelect
PromptDeleteBackup
PromptDeleteOldBackups
PromptDeleteTarget
PromptDeleteCount
PromptConfirmDelete
PromptSelectPriority
PromptBackupConfirm
SmartCategoryDirectory
SmartCategoryRustProject
SmartCategoryNodeJsProject
SmartCategoryPythonProject
SmartCategorySourceCodeProject
SmartCategoryGitManaged
SmartCategoryLowPriority
SmartReasonSampling
SmartReasonScore
SmartReasonSecurityDir
SmartReasonLowPriorityDir
ExcludeReasonNpmDeps
ExcludeReasonRustBuild
ExcludeReasonVendor
ExcludeReasonPythonCache
ExcludeReasonPytestCache
ExcludeReasonBuildArtifacts
ExcludeReasonCacheDir
ExcludeReasonGitMetadata
ExcludeReasonSvnMetadata
ExcludeReasonTempFile
ExcludeReasonBackupFile
ExcludeReasonEditorTemp
ExcludeReasonLogFile
ExcludeReasonMacOsMetadata
ExcludeReasonWindowsThumb
ExcludeReasonWindowsDesktop
SmartDetectConfidenceLabel
SmartDetectDescriptionLabel
SmartDetectRecommendedActionLabel
SmartDetectAnalyzing
PasswordStrengthLabel
PasswordStrengthWeak
PasswordStrengthMedium
PasswordStrengthStrong
PasswordStrengthWeakMessage
PasswordStrengthMediumMessage
PasswordStrengthStrongMessage
PasswordStrengthTip
EditorLaunchFailed
SubdirectoriesFound
ProgressEvaluating
ConfirmBackupTitle
ConfirmBackupTargetFiles
ConfirmBackupDestination
ConfirmCleanupTitle
ConfirmCleanupTargetCount
ConfirmCleanupRetentionDays
CleanupDryRunScheduled
CleanupCompleted
CleanupFailed
RestoreDryRunDetected
RestoreInProgress
RestoreProgressFile
RestoreIntegrityMetadataLoaded
RestoreCompleted
RestoreCompletedWithFailures
ErrorRelativePathFailed
ErrorPathTraversalDetected
ErrorDirectoryCreateFailed
ErrorFileReadFailed
ErrorFileOpenFailedSymlink
ErrorEncryptedButNoPassword
ErrorMasterKeyRestoreFailed
ErrorDecryptionFailed
ErrorIntegrityVerificationFailed
ErrorFileWriteFailed
ErrorFileCountFailed
BackupProgressProcessing
ErrorBackupDirectoryCreateFailed
ErrorBackupWriteFailed
ErrorBackupProcessFailed
ErrorBackupCopyFailed
Implementations§
Trait Implementations§
Source§impl Clone for MessageKey
impl Clone for MessageKey
Source§fn clone(&self) -> MessageKey
fn clone(&self) -> MessageKey
Returns a duplicate 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 MessageKey
impl Debug for MessageKey
impl Copy for MessageKey
Auto Trait Implementations§
impl Freeze for MessageKey
impl RefUnwindSafe for MessageKey
impl Send for MessageKey
impl Sync for MessageKey
impl Unpin for MessageKey
impl UnwindSafe for MessageKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.