pub enum TransferEncoding<'a> {
Std(StdTransferEncoding),
Other(&'a str),
}Expand description
HTTP transfer encoding scheme.
Variants§
Std(StdTransferEncoding)
Standard defined scheme.
Other(&'a str)
Unknown/nonstandard scheme with the contained name.
The name is guaranteed to have no surrounding whitespace and requires case-insensitive comparison to other strings.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for TransferEncoding<'a>
impl<'a> Clone for TransferEncoding<'a>
Source§fn clone(&self) -> TransferEncoding<'a>
fn clone(&self) -> TransferEncoding<'a>
Returns a duplicate 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<'a> Debug for TransferEncoding<'a>
impl<'a> Debug for TransferEncoding<'a>
Source§impl<'a> Hash for TransferEncoding<'a>
impl<'a> Hash for TransferEncoding<'a>
Source§impl<'a> PartialEq for TransferEncoding<'a>
impl<'a> PartialEq for TransferEncoding<'a>
impl<'a> Copy for TransferEncoding<'a>
impl<'a> Eq for TransferEncoding<'a>
impl<'a> StructuralPartialEq for TransferEncoding<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransferEncoding<'a>
impl<'a> RefUnwindSafe for TransferEncoding<'a>
impl<'a> Send for TransferEncoding<'a>
impl<'a> Sync for TransferEncoding<'a>
impl<'a> Unpin for TransferEncoding<'a>
impl<'a> UnwindSafe for TransferEncoding<'a>
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