pub enum Entry {
FindService(ServiceEntry),
OfferService(ServiceEntry),
StopOfferService(ServiceEntry),
SubscribeEventGroup(EventGroupEntry),
SubscribeAckEventGroup(EventGroupEntry),
}Variants§
FindService(ServiceEntry)
OfferService(ServiceEntry)
StopOfferService(ServiceEntry)
SubscribeEventGroup(EventGroupEntry)
SubscribeAckEventGroup(EventGroupEntry)
Implementations§
Source§impl Entry
impl Entry
pub fn first_options_count(&self) -> u8
pub fn second_options_count(&self) -> u8
pub fn total_options_count(&self) -> u8
Trait Implementations§
Source§impl WireFormat for Entry
impl WireFormat for Entry
Source§fn decode<R: Read>(reader: &mut R) -> Result<Self, Error>
fn decode<R: Read>(reader: &mut R) -> Result<Self, Error>
Deserialize a value from a byte stream.
Returns Ok(
Some(value)) if the stream contains a complete value.
Returns Ok(None) if the stream is empty. Read moreSource§fn required_size(&self) -> usize
fn required_size(&self) -> usize
Returns the number of bytes required to serialize this value.
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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