[][src]Enum ckb_std::error::SysError

pub enum SysError {
    IndexOutOfBound,
    ItemMissing,
    LengthNotEnough(usize),
    Encoding,
    Unknown(u64),
}

Syscall errors

Variants

IndexOutOfBound

Index out of bound

ItemMissing

Field is missing for the target

LengthNotEnough(usize)

Buffer length is not enough, error contains actual data length

Encoding

Data encoding error

Unknown(u64)

Unknown syscall error number

Trait Implementations

impl Clone for SysError[src]

impl Copy for SysError[src]

impl Debug for SysError[src]

impl Eq for SysError[src]

impl From<SysError> for Error[src]

impl PartialEq<SysError> for SysError[src]

impl StructuralEq for SysError[src]

impl StructuralPartialEq for SysError[src]

Auto Trait Implementations

impl Send for SysError

impl Sync for SysError

impl Unpin for SysError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.