Enum hypercore_protocol::Message
source · pub enum Message {
}
Expand description
A protocol message.
Variants§
Open(Open)
Close(Close)
Synchronize(Synchronize)
Request(Request)
Cancel(Cancel)
Data(Data)
NoData(NoData)
Want(Want)
Unwant(Unwant)
Bitfield(Bitfield)
Range(Range)
Extension(Extension)
LocalSignal((String, Vec<u8>))
A local signalling message never sent over the wire
Trait Implementations§
source§impl PartialEq for Message
impl PartialEq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)