pub struct Clone { /* private fields */ }Implementations§
Source§impl Clone
impl Clone
pub fn new(opts: CloneOptions) -> Self
Sourcepub fn next_request(&self) -> Option<Request>
pub fn next_request(&self) -> Option<Request>
次に送るべき request。None なら完了。
Sourcepub fn on_response(&mut self, body: &[u8]) -> Result<()>
pub fn on_response(&mut self, body: &[u8]) -> Result<()>
直前の request に対する response body を渡して状態を進める。
pub fn is_done(&self) -> bool
pub fn finish(self) -> Result<CloneOutcome>
Auto Trait Implementations§
impl Freeze for Clone
impl RefUnwindSafe for Clone
impl Send for Clone
impl Sync for Clone
impl Unpin for Clone
impl UnsafeUnpin for Clone
impl UnwindSafe for Clone
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