[][src]Struct sunrise_libuser::error::SmError

#[repr(transparent)]pub struct SmError(u32);

Service Manager errors.

Implementations

impl SmError[src]

pub const OutOfProcesses: SmError[src]

Too many processes spawned.

pub const NotInitialized: SmError[src]

Attempted to use the service manager without initializing it.

pub const MaxSessions: SmError[src]

This service already reached the maximum amount of sessions allowed to connect to it.

pub const ServiceAlreadyRegistered: SmError[src]

Attempted to register a service that already exists.

pub const OutOfServices: SmError[src]

Too many services have been created.

pub const InvalidName: SmError[src]

The name is too long. Make sure it's only 7 characters and ends with a \0.

pub const ServiceNotRegistered: SmError[src]

Attempted to unregister a service that was not previously registered.

pub const PermissionDenied: SmError[src]

Process SACs do not allow accessing or hosting this service.

pub const ServiceAccessControlTooBig: SmError[src]

The provided SACs are too big.

Trait Implementations

impl Clone for SmError[src]

impl Copy for SmError[src]

impl Debug for SmError[src]

impl Eq for SmError[src]

impl From<SmError> for Error[src]

impl PartialEq<SmError> for SmError[src]

impl StructuralEq for SmError[src]

impl StructuralPartialEq for SmError[src]

Auto Trait Implementations

impl RefUnwindSafe for SmError

impl Send for SmError

impl Sync for SmError

impl Unpin for SmError

impl UnwindSafe for SmError

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> SizedIPCBuffer for 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.