Enum Signal

#[repr(u8)]
pub enum Signal

Signal received from terminal

Variants

Interrupt

SIGINT

Resize

SIGWINCH / WINDOW_BUFFER_SIZE_EVENT

Trait Implementations

impl Clone for Signal

fn clone(&self) -> Self

impl Copy for Signal

impl Debug for Signal

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for Signal

impl PartialEq for Signal

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for Signal

Auto Trait Implementations

impl Freeze for Signal

impl RefUnwindSafe for Signal

impl Send for Signal

impl Sync for Signal

impl Unpin for Signal

impl UnsafeUnpin for Signal

impl UnwindSafe for Signal

Blanket Implementations

impl<T> Any for Signal where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Signal where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Signal where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for Signal where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Signal

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Signal where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for Signal where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Signal where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Signal where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>