pub enum WindowsCloudFilesError {
Show 31 variants
FileIdentityTooLarge {
actual: usize,
maximum: usize,
},
SyncRootIdentityTooLarge {
actual: usize,
maximum: usize,
},
InvalidFileIdentity {
reason: &'static str,
},
InvalidSyncRootIdentity {
reason: &'static str,
},
Core(CloudFilesCoreError),
IdentityItemMismatch,
RootFileIdentityScopeMismatch,
InvalidRegistrationString {
field: &'static str,
reason: &'static str,
},
EmptyProviderId,
InvalidSyncRootPolicy {
reason: &'static str,
},
UnsupportedPlatformIntegration {
feature: &'static str,
required: u32,
actual: u32,
},
InvalidSyncRootPath {
reason: &'static str,
},
NativeStructureSizeOverflow {
structure: &'static str,
},
InvalidPlaceholderName {
reason: &'static str,
},
InvalidPlaceholderMetadata {
reason: &'static str,
},
FileSizeTooLarge {
size: u64,
},
EmbeddedNul,
PlaceholderBatchTooLarge,
InvalidCallbackSnapshot {
reason: &'static str,
},
MissingNativeCompletionAuthority,
InvalidFetchTransfer {
reason: &'static str,
},
Hydration(HydrationError),
StaleConnectionGeneration {
expected: u64,
actual: u64,
},
ConnectionNotAccepting {
state: SessionState,
},
InvalidConnectionTransition {
from: SessionState,
to: SessionState,
},
ActiveCallbackCountOverflow,
ActiveFetchWaiterIdOverflow,
ActiveFetchWaiterCountOverflow,
InvalidProviderProgress {
reason: &'static str,
},
InvalidWatchdogTimeout {
reason: &'static str,
},
FetchDataWatchdogTimeout,
}Expand description
Product-neutral classifications for Windows-specific mapping and native-call failures.
Variants§
FileIdentityTooLarge
The encoded CFAPI file identity exceeded the documented 4 KiB boundary.
SyncRootIdentityTooLarge
The encoded sync-root identity exceeded the documented 64 KiB boundary.
InvalidFileIdentity
An encoded identity envelope was malformed or used an unsupported format version.
InvalidSyncRootIdentity
An encoded sync-root identity envelope was malformed or unsupported.
Core(CloudFilesCoreError)
A product-neutral Forge cloud-files value or hydration contract was invalid.
IdentityItemMismatch
The supplied identity described another item.
RootFileIdentityScopeMismatch
The required root file identity belonged to another namespace/root scope.
InvalidRegistrationString
A provider-facing registration string violated the CFAPI contract.
Fields
EmptyProviderId
A zero provider GUID would delegate identity generation to display text.
InvalidSyncRootPolicy
Hydration or registration policies contradicted each other.
UnsupportedPlatformIntegration
A requested policy needs a newer CFAPI platform integration level.
Fields
InvalidSyncRootPath
The sync-root path was empty or otherwise unsuitable for registration.
NativeStructureSizeOverflow
A windows-rs native structure size could not fit the CFAPI u32 field.
InvalidPlaceholderName
A Windows placeholder name was not a valid single path component.
InvalidPlaceholderMetadata
Core item metadata could not be represented as a Windows placeholder.
FileSizeTooLarge
A file size could not be represented by the signed CFAPI metadata field.
EmbeddedNul
A Windows path contained an embedded NUL and therefore could not become a wide C string.
PlaceholderBatchTooLarge
A placeholder batch exceeded the count representable by CFAPI.
InvalidCallbackSnapshot
A callback snapshot contained malformed scalar, range, identity, or owned-string data.
MissingNativeCompletionAuthority
A detached callback request was asked to perform a native CFAPI terminal operation.
InvalidFetchTransfer
Hydrated bytes could not be represented as one valid CFAPI transfer operation.
Hydration(HydrationError)
Product-neutral hydration coordination or backend work failed.
StaleConnectionGeneration
A callback or completion belonged to another platform session generation.
Fields
ConnectionNotAccepting
The active connection lifecycle rejected a new callback.
Fields
state: SessionStateCurrent product-neutral session state.
InvalidConnectionTransition
The requested connection lifecycle transition skipped a required state.
Fields
from: SessionStateCurrent product-neutral session state.
to: SessionStateRequested product-neutral session state.
ActiveCallbackCountOverflow
The active callback counter exceeded the host address space.
ActiveFetchWaiterIdOverflow
The process-local active hydration waiter identity space was exhausted.
ActiveFetchWaiterCountOverflow
The active hydration waiter counter exceeded the host address space.
InvalidProviderProgress
A CFAPI progress value was outside the representable or monotonic range.
InvalidWatchdogTimeout
The CFAPI callback watchdog configuration was not a usable positive duration.
FetchDataWatchdogTimeout
A pending fetch exceeded the local watchdog deadline.