prototype resumable send & recv

This commit is contained in:
Christian Schwarz
2017-08-18 23:52:33 +02:00
parent e5b713ce5b
commit d12ab6cd57
7 changed files with 234 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
// Code generated by "stringer -type ResumeTransferErrorReason"; DO NOT EDIT.
package rpc
import "fmt"
const _ResumeTransferErrorReason_name = "ResumeTransferErrorReasonNotImplementedResumeTransferErrorReasonDisabledResumeTransferErrorReasonZFSErrorPermanentResumeTransferErrorReasonZFSErrorMaybeTemporary"
var _ResumeTransferErrorReason_index = [...]uint8{0, 39, 72, 114, 161}
func (i ResumeTransferErrorReason) String() string {
if i >= ResumeTransferErrorReason(len(_ResumeTransferErrorReason_index)-1) {
return fmt.Sprintf("ResumeTransferErrorReason(%d)", i)
}
return _ResumeTransferErrorReason_name[_ResumeTransferErrorReason_index[i]:_ResumeTransferErrorReason_index[i+1]]
}