pub struct MockPuller(pub Arc<[u8]>);Tuple Fields§
§0: Arc<[u8]>Implementations§
Trait Implementations§
Source§impl Clone for MockPuller
impl Clone for MockPuller
Source§fn clone(&self) -> MockPuller
fn clone(&self) -> MockPuller
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MockPuller
impl Debug for MockPuller
Source§impl Puller for MockPuller
impl Puller for MockPuller
type Error = ()
async fn pull( &mut self, range: Option<&ProgressEntry>, ) -> PullResult<impl PullStream<Self::Error>, Self::Error>
Auto Trait Implementations§
impl Freeze for MockPuller
impl RefUnwindSafe for MockPuller
impl Send for MockPuller
impl Sync for MockPuller
impl Unpin for MockPuller
impl UnsafeUnpin for MockPuller
impl UnwindSafe for MockPuller
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