pub enum Tree {
Standards,
Vendor,
Personal,
Private,
Unregistered(Cow<'static, str>),
}Expand description
Provides the four registration trees.
Variants§
Standards
The standards tree is intended for types of general interest to the Internet community.
Vendor
The vendor tree is used for media types associated with publicly available products.
Personal
Registrations for media types created experimentally or as part of products that are not distributed commercially may be registered in the personal or vanity tree.
Private
Subtype names with “x.” as the first facet may be used for types intended exclusively for use in private, local environments.
Unregistered(Cow<'static, str>)
Other unofficial trees.
Trait Implementations§
impl Eq for Tree
impl StructuralPartialEq for Tree
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
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