pub enum LinkCost {
Free,
Metered,
Expensive,
Offline,
}Expand description
Variants§
Free
A free or local link: ship all detail.
Metered
A metered link: skip routine detail.
Expensive
An expensive link, such as satellite: ship only warnings and errors.
Offline
No link: hold back everything but errors worth buffering.
Implementations§
Trait Implementations§
impl Copy for LinkCost
impl Eq for LinkCost
impl StructuralPartialEq for LinkCost
Auto Trait Implementations§
impl Freeze for LinkCost
impl RefUnwindSafe for LinkCost
impl Send for LinkCost
impl Sync for LinkCost
impl Unpin for LinkCost
impl UnsafeUnpin for LinkCost
impl UnwindSafe for LinkCost
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