pub enum Inbound {
Text(InboundText),
Echo {
hop_count: Option<u8>,
},
Refused(Refusal),
}Expand description
What a received frame is to a chat session.
Variants§
Text(InboundText)
A text message to feed the facade.
Echo
Our own multicast, relayed back to us. It is the message we already have, not a second one, but it is evidence: something received our frame and forwarded it, the only reachability signal a multicast ever produces.
Refused(Refusal)
A text frame the channel rules say must not be shown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inbound
impl RefUnwindSafe for Inbound
impl Send for Inbound
impl Sync for Inbound
impl Unpin for Inbound
impl UnwindSafe for Inbound
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)