#[non_exhaustive]pub enum Resp2xx {
Ok,
Created,
Accepted,
NonAuthoritativeInformation,
NoContent,
ResetContent,
PartialContent,
MultiStatus,
AlreadyReported,
ImUsed,
}Expand description
2xx Responses
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok
200 - Ok
Created
201 Created
Accepted
202 Accepted
NonAuthoritativeInformation
203 Non-Authoritative Information (since HTTP/1.1)
NoContent
204 No Content
ResetContent
205 Reset Content
PartialContent
206 Partial Content
MultiStatus
207 Multi-Status (WebDAV; RFC 4918)
AlreadyReported
208 Already Reported (WebDAV; RFC 5842)
ImUsed
226 IM Used (RFC 3229)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Resp2xx
Auto Trait Implementations§
impl Freeze for Resp2xx
impl RefUnwindSafe for Resp2xx
impl Send for Resp2xx
impl Sync for Resp2xx
impl Unpin for Resp2xx
impl UnsafeUnpin for Resp2xx
impl UnwindSafe for Resp2xx
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