Struct openssh_sftp_client::AwaitableStatus
source · [−]Implementations
sourceimpl<Buffer: Send + Sync> AwaitableStatus<Buffer>
impl<Buffer: Send + Sync> AwaitableStatus<Buffer>
sourcepub fn wait(self) -> AwaitableStatusFuture<Buffer>ⓘNotable traits for AwaitableStatusFuture<Buffer>impl<Buffer: Send + Sync> Future for AwaitableStatusFuture<Buffer> type Output = Result<(Id<Buffer>, ()), Error>;
pub fn wait(self) -> AwaitableStatusFuture<Buffer>ⓘNotable traits for AwaitableStatusFuture<Buffer>impl<Buffer: Send + Sync> Future for AwaitableStatusFuture<Buffer> type Output = Result<(Id<Buffer>, ()), Error>;
Return (id, res).
id can be reused in the next request.
Cancel Safety
It is perfectly safe to cancel the future.
Trait Implementations
Auto Trait Implementations
impl<Buffer> !RefUnwindSafe for AwaitableStatus<Buffer>
impl<Buffer> Send for AwaitableStatus<Buffer>
impl<Buffer> Sync for AwaitableStatus<Buffer>
impl<Buffer> Unpin for AwaitableStatus<Buffer>
impl<Buffer> !UnwindSafe for AwaitableStatus<Buffer>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more