Skip to main content

CopyResume

Trait CopyResume 

Source
pub trait CopyResume {
    const BOTH_OPEN_STATE: RuntimeState;
    const BOTH_SERVER_DONE_STATE: RuntimeState;
}
Expand description

Maps a COPY resumption marker to its generated nested-session states.

Required Associated Constants§

Source

const BOTH_OPEN_STATE: RuntimeState

Generated state while both COPY directions remain open.

Source

const BOTH_SERVER_DONE_STATE: RuntimeState

Generated state after the server closes its COPY direction.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl CopyResume for CopyExtended

Source§

const BOTH_OPEN_STATE: RuntimeState = backend::RuntimeState::ExtendedCopyBoth

Source§

const BOTH_SERVER_DONE_STATE: RuntimeState = backend::RuntimeState::ExtendedCopyBothServerDone

Source§

impl CopyResume for CopySimple

Source§

const BOTH_OPEN_STATE: RuntimeState = backend::RuntimeState::SimpleCopyBoth

Source§

const BOTH_SERVER_DONE_STATE: RuntimeState = backend::RuntimeState::SimpleCopyBothServerDone