pub struct StaticEnumerator { /* private fields */ }Expand description
Static resource list for unit tests.
Implementations§
Source§impl StaticEnumerator
impl StaticEnumerator
pub fn new(resources: Vec<RawResource>) -> Self
pub fn from_addresses( addresses: impl IntoIterator<Item = String>, ) -> Result<Self>
Trait Implementations§
Source§impl Debug for StaticEnumerator
impl Debug for StaticEnumerator
Source§impl Default for StaticEnumerator
impl Default for StaticEnumerator
Auto Trait Implementations§
impl Freeze for StaticEnumerator
impl RefUnwindSafe for StaticEnumerator
impl Send for StaticEnumerator
impl Sync for StaticEnumerator
impl Unpin for StaticEnumerator
impl UnsafeUnpin for StaticEnumerator
impl UnwindSafe for StaticEnumerator
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