Struct kitchen_fridge::client::Client [−][src]
pub struct Client { /* fields omitted */ }Expand description
A CalDAV data source that fetches its data from a CalDAV server
Implementations
Trait Implementations
Returns the current calendars that this source contains This function may trigger an update (that can be a long process, or that can even fail, e.g. in case of a remote server) Read more
Returns the calendar matching the URL
fn create_calendar<'life0, 'async_trait>(
&'life0 mut self,
url: Url,
name: String,
supported_components: SupportedComponents,
color: Option<Color>
) -> Pin<Box<dyn Future<Output = Result<Arc<Mutex<RemoteCalendar>>, Box<dyn Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_calendar<'life0, 'async_trait>(
&'life0 mut self,
url: Url,
name: String,
supported_components: SupportedComponents,
color: Option<Color>
) -> Pin<Box<dyn Future<Output = Result<Arc<Mutex<RemoteCalendar>>, Box<dyn Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a calendar if it did not exist, and return it
Auto Trait Implementations
impl RefUnwindSafe for Client
impl UnwindSafe for Client
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