pub struct Bark { /* private fields */ }Implementations§
Source§impl Bark
impl Bark
pub fn new() -> Self
pub fn born(timestamp: u64, token: String) -> Self
Sourcepub fn force_refresh_token(&mut self) -> (u64, String)
pub fn force_refresh_token(&mut self) -> (u64, String)
force refresh apns token
return (create_timestamp, token)
Auto Trait Implementations§
impl Freeze for Bark
impl RefUnwindSafe for Bark
impl Send for Bark
impl Sync for Bark
impl Unpin for Bark
impl UnwindSafe for Bark
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