pub enum CadetReceiveStatus {
Active,
Closed,
Overflow,
DispatcherPanicked,
InvalidReceiveState,
}Expand description
Состояние приёма в канале.
Variants§
Active
Сообщения принимаются.
Closed
Приём закрыт.
Overflow
Очередь переполнилась, приём остановлен.
DispatcherPanicked
Обработчик сообщения завершился паникой, приём остановлен.
InvalidReceiveState
CADET доставил сообщение, не дождавшись подтверждения предыдущего; приём остановлен.
Trait Implementations§
Source§impl Clone for CadetReceiveStatus
impl Clone for CadetReceiveStatus
Source§fn clone(&self) -> CadetReceiveStatus
fn clone(&self) -> CadetReceiveStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CadetReceiveStatus
Source§impl Debug for CadetReceiveStatus
impl Debug for CadetReceiveStatus
impl Eq for CadetReceiveStatus
Source§impl PartialEq for CadetReceiveStatus
impl PartialEq for CadetReceiveStatus
impl StructuralPartialEq for CadetReceiveStatus
Auto Trait Implementations§
impl Freeze for CadetReceiveStatus
impl RefUnwindSafe for CadetReceiveStatus
impl Send for CadetReceiveStatus
impl Sync for CadetReceiveStatus
impl Unpin for CadetReceiveStatus
impl UnsafeUnpin for CadetReceiveStatus
impl UnwindSafe for CadetReceiveStatus
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