pub struct MemorySource { /* private fields */ }Expand description
A simple in-memory source useful for testing and embedded environments.
Implementations§
Trait Implementations§
Source§impl Default for MemorySource
impl Default for MemorySource
Source§fn default() -> MemorySource
fn default() -> MemorySource
Returns the “default value” for a type. Read more
Source§impl Source for MemorySource
impl Source for MemorySource
Auto Trait Implementations§
impl Freeze for MemorySource
impl RefUnwindSafe for MemorySource
impl Send for MemorySource
impl Sync for MemorySource
impl Unpin for MemorySource
impl UnwindSafe for MemorySource
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