pub enum DiscoverableService {
CalDavs,
CalDav,
CardDavs,
CardDav,
}
Expand description
Services for which automatic discovery is possible.
Variants§
CalDavs
Caldav over HTTPS.
CalDav
Caldav over plain-text HTTP.
CardDavs
Carddav over HTTPS.
CardDav
Carddav over plain-text HTTP.
Implementations§
source§impl DiscoverableService
impl DiscoverableService
sourcepub fn relative_domain(self) -> &'static RelativeName<[u8]>
pub fn relative_domain(self) -> &'static RelativeName<[u8]>
Relative domain suitable for querying this service type.
sourcepub fn well_known_path(self) -> &'static str
pub fn well_known_path(self) -> &'static str
The well-known path for context-path discovery.
sourcepub fn default_port(self) -> u16
pub fn default_port(self) -> u16
Default port to use if no port is explicitly provided.
sourcepub fn access_field(self) -> &'static str
pub fn access_field(self) -> &'static str
Value that must be present in the DAV:
header when checking for support.
§See also
Trait Implementations§
source§impl Clone for DiscoverableService
impl Clone for DiscoverableService
source§fn clone(&self) -> DiscoverableService
fn clone(&self) -> DiscoverableService
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DiscoverableService
impl Debug for DiscoverableService
source§impl Display for DiscoverableService
impl Display for DiscoverableService
impl Copy for DiscoverableService
Auto Trait Implementations§
impl Freeze for DiscoverableService
impl RefUnwindSafe for DiscoverableService
impl Send for DiscoverableService
impl Sync for DiscoverableService
impl Unpin for DiscoverableService
impl UnwindSafe for DiscoverableService
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.