pub struct Remote { /* private fields */ }Expand description
provider with config should resolve to a unique remote
Implementations§
Source§impl Remote
impl Remote
pub fn new(provider: Provider, params: RemoteConfigParams) -> Self
pub async fn list_events( &self, range: &DateRange, ) -> Result<Vec<RemoteEvent>, RemoteError>
pub async fn apply_change( &self, change: &EventChange, ) -> Result<Option<RemoteEvent>, RemoteError>
Auto Trait Implementations§
impl !RefUnwindSafe for Remote
impl !UnwindSafe for Remote
impl Freeze for Remote
impl Send for Remote
impl Sync for Remote
impl Unpin for Remote
impl UnsafeUnpin for Remote
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