pub enum Reception {
Frame(Frame),
Audio(Audio),
Quiet,
Closed,
}Expand description
What one read from a host’s socket produced.
Variants§
Frame(Frame)
A whole frame.
Audio(Audio)
One audio packet.
Quiet
Nothing yet: the read timed out, and the loop looks at its stop flag.
Closed
The host closed its end.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reception
impl RefUnwindSafe for Reception
impl Send for Reception
impl Sync for Reception
impl Unpin for Reception
impl UnsafeUnpin for Reception
impl UnwindSafe for Reception
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