#[non_exhaustive]pub enum UtcMethod {
Get,
Head,
}Expand description
The HTTP method of a UTCTiming request.
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.
Get
GET; the body (or, for http-head re-issued after a refused HEAD,
only the Date header) is the time.
Head
HEAD; the Date header is the time.
Implementations§
Trait Implementations§
impl Copy for UtcMethod
impl Eq for UtcMethod
impl StructuralPartialEq for UtcMethod
Auto Trait Implementations§
impl Freeze for UtcMethod
impl RefUnwindSafe for UtcMethod
impl Send for UtcMethod
impl Sync for UtcMethod
impl Unpin for UtcMethod
impl UnsafeUnpin for UtcMethod
impl UnwindSafe for UtcMethod
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