pub struct ExternalReaderRuntime { /* private fields */ }Implementations§
Source§impl ExternalReaderRuntime
impl ExternalReaderRuntime
pub fn new() -> Self
Sourcepub fn add_resource_readers<T: IntoResourceReaders>(
&mut self,
readers: T,
) -> &mut Self
pub fn add_resource_readers<T: IntoResourceReaders>( &mut self, readers: T, ) -> &mut Self
Add a single, or tuple of resource readers to the client.
Panics if any of the readers have the same scheme.
pub fn add_module_readers<T: IntoModuleReaders>( &mut self, readers: T, ) -> &mut Self
pub fn run(&self) -> Result<(), Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for ExternalReaderRuntime
impl !RefUnwindSafe for ExternalReaderRuntime
impl !Send for ExternalReaderRuntime
impl !Sync for ExternalReaderRuntime
impl Unpin for ExternalReaderRuntime
impl UnsafeUnpin for ExternalReaderRuntime
impl !UnwindSafe for ExternalReaderRuntime
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