private RetryPolicy(Retryable retryable, TimeSpan delay = default) { Retryable = retryable; Delay = delay; }
internal RetryPolicy(InputStream istr) { Retryable = istr.ReadRetryable(); Delay = Retryable == Retryable.AfterDelay ? TimeSpan.FromMilliseconds(istr.ReadVarULong()) : TimeSpan.Zero; }