Enum hypercore_protocol::Message [−][src]
pub enum Message {
Open(Open),
Options(Options),
Status(Status),
Have(Have),
Unhave(Unhave),
Want(Want),
Unwant(Unwant),
Request(Request),
Cancel(Cancel),
Data(Data),
Close(Close),
Extension(ExtensionMessage),
}Expand description
A protocol message.
Variants
Tuple Fields of Open
0: OpenTuple Fields of Options
0: OptionsTuple Fields of Status
0: StatusTuple Fields of Have
0: HaveTuple Fields of Unhave
0: UnhaveTuple Fields of Want
0: WantTuple Fields of Unwant
0: UnwantTuple Fields of Request
0: RequestTuple Fields of Cancel
0: CancelTuple Fields of Data
0: DataTuple Fields of Close
0: CloseTuple Fields of Extension
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl UnwindSafe for Message
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self