pub fn send_frame_until_accepted<E, F, E2>(
enc: &mut E,
frame: &Frame,
pulse: Option<&dyn Pulse>,
on_output: F,
) -> Result<(), PumpError<SessionError<E::Error>, E2>>Expand description
The encoder twin of send_packet_until_accepted.
§Errors
The encoder’s error as Upstream, on_output’s as Downstream.