pub enum FaceEvent {
Opened(FaceId),
Closed(FaceId),
}Expand description
Lifecycle events emitted by face tasks.
When a face task’s recv() returns FaceError::Closed, the task removes
itself from the FaceTable and sends FaceEvent::Closed(id) to the face
manager. The manager then cleans up any PIT OutRecord entries for that
face.
Variants§
Opened(FaceId)
A new face has been registered and its task is running.
Closed(FaceId)
A face has closed (remote disconnect or I/O error).
Implementations§
Trait Implementations§
impl Eq for FaceEvent
impl StructuralPartialEq for FaceEvent
Auto Trait Implementations§
impl Freeze for FaceEvent
impl RefUnwindSafe for FaceEvent
impl Send for FaceEvent
impl Sync for FaceEvent
impl Unpin for FaceEvent
impl UnwindSafe for FaceEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more