[][src]Enum lifeline::error::TakeChannelError

pub enum TakeChannelError {
    PartialTake(NotTakenError),
    AlreadyLinked(AlreadyLinkedError),
    AlreadyTaken(LinkTakenError),
}

An error produced when attempting to take a Sender or Receiver from the bus.

Variants

PartialTake(NotTakenError)

The channel was partially linked on the bus, and this endpoint was not set.

AlreadyLinked(AlreadyLinkedError)

The channel was already linked, and the requested operation required a new channel endpoint

AlreadyTaken(LinkTakenError)

The channel endpoint is not clonable, and the link was already taken

Implementations

impl TakeChannelError[src]

pub fn partial_take<Bus, Msg>(link: Link) -> Self[src]

pub fn already_linked<Bus, Msg>() -> Self[src]

pub fn already_taken<Bus, Msg>(link: Link) -> Self[src]

Trait Implementations

impl Debug for TakeChannelError[src]

impl Display for TakeChannelError[src]

impl Error for TakeChannelError[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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.