Skip to main content

refuse

Function refuse 

Source
pub fn refuse<T: Transport>(
    transport: &mut T,
    reason: Reason,
) -> Result<(), SyncError>
Expand description

Ends a pairing or a sync before it starts, telling the other side why, as a replica that cannot take it now does.

ยงErrors

Returns an error if the connection fails.