Enum a2::error::Error [−][src]
pub enum Error {
SerializeError(Error),
ConnectionError(Error),
SignerError(ErrorStack),
ResponseError(Response),
InvalidOptions(String),
ReadError(Error),
}
Variants
SerializeError(Error)
User request or Apple response JSON data was faulty.
Tuple Fields of SerializeError
0: Error
ConnectionError(Error)
A problem connecting to APNs servers.
Tuple Fields of ConnectionError
0: Error
SignerError(ErrorStack)
Couldn’t generate an APNs token with the given key.
Tuple Fields of SignerError
0: ErrorStack
ResponseError(Response)
APNs couldn’t accept the notification. Contains Response with additional information.
Tuple Fields of ResponseError
0: Response
InvalidOptions(String)
Invalid option values given in NotificationOptions
Tuple Fields of InvalidOptions
0: String
ReadError(Error)
Error reading the certificate or private key.
Tuple Fields of ReadError
0: Error
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more