pub enum FindContextUrlResult {
BaseUrl,
Found(Uri),
NoneFound,
Error(ContextUrlError),
}
Expand description
Return type for the find_context_url
function.
Variants§
BaseUrl
The WebDAV client’s base_url
is a valid context url for the given service.
Found(Uri)
Found a usable URL via service discovery.
NoneFound
No usable URL found for this service.
Error(ContextUrlError)
Non-recoverable error occurred.
Auto Trait Implementations§
impl !Freeze for FindContextUrlResult
impl !RefUnwindSafe for FindContextUrlResult
impl Send for FindContextUrlResult
impl Sync for FindContextUrlResult
impl Unpin for FindContextUrlResult
impl !UnwindSafe for FindContextUrlResult
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> 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.