Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/distributed/sers
/ Mode
Struct
Mode
sers.go:65–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
}
64
65
type
Mode
struct
{
66
Baudrate int
67
DataBits int
68
Parity int
69
Stopbits int
70
Handshake int
71
}
72
73
func
(m Mode) Valid() bool {
74
if
m.Baudrate < 0 {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected