Enum lifeline::error::TakeChannelError [−][src]
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
impl RefUnwindSafe for TakeChannelError
[src]
impl Send for TakeChannelError
[src]
impl Sync for TakeChannelError
[src]
impl Unpin for TakeChannelError
[src]
impl UnwindSafe for TakeChannelError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,