#[repr(u32)]pub enum PeerState {
Empty = 0,
Attached = 1,
Goodbye = 2,
Reserved = 3,
}Expand description
States a peer table slot can be in.
r[impl shm.peer-table.states]
Variants§
Empty = 0
Slot available for a new guest.
Attached = 1
Guest is active.
Goodbye = 2
Guest is shutting down or has crashed.
Reserved = 3
Host has reserved this slot; guest not yet attached.
Implementations§
Trait Implementations§
impl Copy for PeerState
impl Eq for PeerState
impl StructuralPartialEq for PeerState
Auto Trait Implementations§
impl Freeze for PeerState
impl RefUnwindSafe for PeerState
impl Send for PeerState
impl Sync for PeerState
impl Unpin for PeerState
impl UnsafeUnpin for PeerState
impl UnwindSafe for PeerState
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