pub enum FileContents {
Text(String),
Binary(Vec<u8>),
}
Variants§
Trait Implementations§
Source§impl Debug for FileContents
impl Debug for FileContents
Source§impl PartialEq for FileContents
impl PartialEq for FileContents
impl StructuralPartialEq for FileContents
Auto Trait Implementations§
impl Freeze for FileContents
impl RefUnwindSafe for FileContents
impl Send for FileContents
impl Sync for FileContents
impl Unpin for FileContents
impl UnwindSafe for FileContents
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