Skip to main content

CopyBothCompletion

Type Alias CopyBothCompletion 

Source
pub type CopyBothCompletion<S, C, Resume> = Result<(Conn<S, ServerCopyBoth<Resume, BothDone>, C>, Frame)>;
Expand description

Result of completing COPY BOTH after both halves close.

Aliased Type§

pub enum CopyBothCompletion<S, C, Resume> {
    Ok((Conn<S, ServerCopyBoth<Resume, BothDone>, C>, Frame)),
    Err(Error),
}

Variants§

§1.0.0

Ok((Conn<S, ServerCopyBoth<Resume, BothDone>, C>, Frame))

Contains the success value

§1.0.0

Err(Error)

Contains the error value