pub enum ClrSource<'a> {
File(&'a str),
Buffer(&'a [u8]),
}Expand description
Represents a source of CLR data.
Variants§
File(&'a str)
File indicated by a string representing the file path.
Buffer(&'a [u8])
In-memory buffer containing the data.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ClrSource<'a>
impl<'a> RefUnwindSafe for ClrSource<'a>
impl<'a> Send for ClrSource<'a>
impl<'a> Sync for ClrSource<'a>
impl<'a> Unpin for ClrSource<'a>
impl<'a> UnwindSafe for ClrSource<'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