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: Open
Tuple Fields of Options
0: Options
Tuple Fields of Status
0: Status
Tuple Fields of Have
0: Have
Tuple Fields of Unhave
0: Unhave
Tuple Fields of Want
0: Want
Tuple Fields of Unwant
0: Unwant
Tuple Fields of Request
0: Request
Tuple Fields of Cancel
0: Cancel
Tuple Fields of Data
0: Data
Tuple Fields of Close
0: Close
Tuple 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