#[repr(C)]pub enum NSUrlError {
Show 49 variants
Unknown = -1,
BackgroundSessionRequiresSharedContainer = -995,
BackgroundSessionInUseByAnotherProcess = -996,
BackgroundSessionWasDisconnected = -997,
Cancelled = -999,
BadURL = -1_000,
TimedOut = -1_001,
UnsupportedURL = -1_002,
CannotFindHost = -1_003,
CannotConnectToHost = -1_004,
NetworkConnectionLost = -1_005,
DNSLookupFailed = -1_006,
HTTPTooManyRedirects = -1_007,
ResourceUnavailable = -1_008,
NotConnectedToInternet = -1_009,
RedirectToNonExistentLocation = -1_010,
BadServerResponse = -1_011,
UserCancelledAuthentication = -1_012,
UserAuthenticationRequired = -1_013,
ZeroByteResource = -1_014,
CannotDecodeRawData = -1_015,
CannotDecodeContentData = -1_016,
CannotParseResponse = -1_017,
InternationalRoamingOff = -1_018,
CallIsActive = -1_019,
DataNotAllowed = -1_020,
RequestBodyStreamExhausted = -1_021,
AppTransportSecurityRequiresSecureConnection = -1_022,
FileDoesNotExist = -1_100,
FileIsDirectory = -1_101,
NoPermissionsToReadFile = -1_102,
DataLengthExceedsMaximum = -1_103,
FileOutsideSafeArea = -1_104,
SecureConnectionFailed = -1_200,
ServerCertificateHasBadDate = -1_201,
ServerCertificateUntrusted = -1_202,
ServerCertificateHasUnknownRoot = -1_203,
ServerCertificateNotYetValid = -1_204,
ClientCertificateRejected = -1_205,
ClientCertificateRequired = -1_206,
CannotLoadFromNetwork = -2_000,
CannotCreateFile = -3_000,
CannotOpenFile = -3_001,
CannotCloseFile = -3_002,
CannotWriteToFile = -3_003,
CannotRemoveFile = -3_004,
CannotMoveFile = -3_005,
DownloadDecodingFailedMidStream = -3_006,
DownloadDecodingFailedToComplete = -3_007,
}
Variants§
Unknown = -1
BackgroundSessionInUseByAnotherProcess = -996
BackgroundSessionWasDisconnected = -997
Cancelled = -999
BadURL = -1_000
TimedOut = -1_001
UnsupportedURL = -1_002
CannotFindHost = -1_003
CannotConnectToHost = -1_004
NetworkConnectionLost = -1_005
DNSLookupFailed = -1_006
HTTPTooManyRedirects = -1_007
NotConnectedToInternet = -1_009
RedirectToNonExistentLocation = -1_010
BadServerResponse = -1_011
UserCancelledAuthentication = -1_012
UserAuthenticationRequired = -1_013
ZeroByteResource = -1_014
CannotDecodeRawData = -1_015
CannotDecodeContentData = -1_016
CannotParseResponse = -1_017
InternationalRoamingOff = -1_018
CallIsActive = -1_019
DataNotAllowed = -1_020
RequestBodyStreamExhausted = -1_021
AppTransportSecurityRequiresSecureConnection = -1_022
FileDoesNotExist = -1_100
FileIsDirectory = -1_101
NoPermissionsToReadFile = -1_102
DataLengthExceedsMaximum = -1_103
FileOutsideSafeArea = -1_104
SecureConnectionFailed = -1_200
ServerCertificateHasBadDate = -1_201
ServerCertificateUntrusted = -1_202
ServerCertificateHasUnknownRoot = -1_203
ServerCertificateNotYetValid = -1_204
ClientCertificateRejected = -1_205
ClientCertificateRequired = -1_206
CannotLoadFromNetwork = -2_000
CannotCreateFile = -3_000
CannotOpenFile = -3_001
CannotCloseFile = -3_002
CannotWriteToFile = -3_003
CannotRemoveFile = -3_004
CannotMoveFile = -3_005
DownloadDecodingFailedMidStream = -3_006
DownloadDecodingFailedToComplete = -3_007
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NSUrlError
impl RefUnwindSafe for NSUrlError
impl Send for NSUrlError
impl Sync for NSUrlError
impl Unpin for NSUrlError
impl UnwindSafe for NSUrlError
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