Enum pepper::platform::PlatformEvent
source · [−]pub enum PlatformEvent {
Idle,
ConnectionOpen {
handle: ClientHandle,
},
ConnectionClose {
handle: ClientHandle,
},
ConnectionOutput {
handle: ClientHandle,
buf: PooledBuf,
},
ProcessSpawned {
tag: ProcessTag,
handle: PlatformProcessHandle,
},
ProcessOutput {
tag: ProcessTag,
buf: PooledBuf,
},
ProcessExit {
tag: ProcessTag,
},
}
Variants
Idle
ConnectionOpen
Fields
handle: ClientHandle
ConnectionClose
Fields
handle: ClientHandle
ConnectionOutput
ProcessSpawned
ProcessOutput
ProcessExit
Fields
tag: ProcessTag
Auto Trait Implementations
impl RefUnwindSafe for PlatformEvent
impl Send for PlatformEvent
impl Sync for PlatformEvent
impl Unpin for PlatformEvent
impl UnwindSafe for PlatformEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more