#[non_exhaustive]pub enum Output<T: Serialize> {
Render(T),
Silent,
Binary {
data: Vec<u8>,
filename: String,
},
Artifact(Artifact<T>),
}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.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Output<T>
impl<T> RefUnwindSafe for Output<T>
impl<T> Send for Output<T>
impl<T> Sync for Output<T>
impl<T> Unpin for Output<T>
impl<T> UnsafeUnpin for Output<T>
impl<T> UnwindSafe for Output<T>
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