pub struct Client { /* private fields */ }Expand description
Apple Push Notification service client.
The Client is safe to use from multiple threads. However, Client
uses a std::sync::RwLock and is not Clone. To pass Client to
multiple threads, use std::sync::Arc for OS threads, or std::rc::Rc
for green threads.
Implementations§
Auto Trait Implementations§
impl !Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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