Struct openssh_sftp_client::AwaitableAttrs
source · [−]Implementations
sourceimpl<Buffer: Send + Sync> AwaitableAttrs<Buffer>
impl<Buffer: Send + Sync> AwaitableAttrs<Buffer>
sourcepub fn wait(self) -> AwaitableAttrsFuture<Buffer>ⓘNotable traits for AwaitableAttrsFuture<Buffer>impl<Buffer: Send + Sync> Future for AwaitableAttrsFuture<Buffer> type Output = Result<(Id<Buffer>, FileAttrs), Error>;
pub fn wait(self) -> AwaitableAttrsFuture<Buffer>ⓘNotable traits for AwaitableAttrsFuture<Buffer>impl<Buffer: Send + Sync> Future for AwaitableAttrsFuture<Buffer> type Output = Result<(Id<Buffer>, FileAttrs), 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 AwaitableAttrs<Buffer>
impl<Buffer> Send for AwaitableAttrs<Buffer>
impl<Buffer> Sync for AwaitableAttrs<Buffer>
impl<Buffer> Unpin for AwaitableAttrs<Buffer>
impl<Buffer> !UnwindSafe for AwaitableAttrs<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