q2316367743/webdav/types does not have a README file
impl Show for WebdavErrorpub(all) struct ActiveLock {
token : String
scope : LockScope
depth : String?
owner : String?
timeout : String?
lockroot : String?
}pub struct ByteRange {
start : Int
end : Int?
}fn Conditions::new(if_match? : String, if_none_match? : String, lock_token? : String, if_lists? : Array[IfList]) -> Conditionspub(all) struct ContentRange {
first : Int
last : Int
total : Int?
}pub(all) enum Depth {
Zero
One
Infinity
}pub(all) struct FileInfo {
href : String
name : String
is_dir : Bool
content_length : Int?
content_type : String?
last_modified : String?
created : String?
etag : String?
}pub(all) struct GetResult {
content : Bytes
status : Int
content_type : String?
content_length : Int?
etag : String?
last_modified : String?
content_range : ContentRange?
}pub(all) enum IfConditionKind {
StateToken
EntityTag
}pub(all) enum LockScope {
Exclusive
Shared
}pub(all) struct Progress {
loaded : Int
total : Int?
}pub(all) struct PropResult {
name : String
value : String
status : Int
}pub(all) struct PutResult {
status : Int
created : Bool
etag : String?
last_modified : String?
location : String?
}pub(all) struct ResourceFailure {
href : String
status : Int
message : String
}pub(all) struct WebdavConfig {
base_url : String
username : String?
password : String?
timeout_ms : Int?
retry_on_423 : Bool?
} derive(Default)pub(all) enum WebdavErrorDetail {
Http(HttpError)
Xml(XmlError)
Api(status~ : Int, operation~ : String, message~ : String)
Partial(operation~ : String, failures~ : Array[ResourceFailure])
Cancelled(String?)
Io(message~ : String)
}fn ascii_upper(text : String) -> Stringfn href_to_path(href : String) -> Stringfn normalize_lock_token(token : String) -> Stringfn parse_ascii_int(text : String) -> Int?fn parse_unsatisfied_range_total(text : String) -> Int?fn percent_decode(text : String) -> Stringfn percent_encode_path(path : String) -> String