Enum BehaviourTransitionError
pub enum BehaviourTransitionError {
    InvalidTransition,
    BehaviourInvalid(BehaviourInvalid),
    BehaviourInitializationFailed(BehaviourInitializationFailed),
    BehaviourConnectFailed(BehaviourConnectFailed),
    BehaviourDisconnectFailed(BehaviourDisconnectFailed),
}Variants§
InvalidTransition
BehaviourInvalid(BehaviourInvalid)
BehaviourInitializationFailed(BehaviourInitializationFailed)
BehaviourConnectFailed(BehaviourConnectFailed)
BehaviourDisconnectFailed(BehaviourDisconnectFailed)
Trait Implementations§
§impl Debug for BehaviourTransitionError
 
impl Debug for BehaviourTransitionError
§impl Display for BehaviourTransitionError
 
impl Display for BehaviourTransitionError
§impl Error for BehaviourTransitionError
 
impl Error for BehaviourTransitionError
§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl From<BehaviourConnectFailed> for BehaviourTransitionError
 
impl From<BehaviourConnectFailed> for BehaviourTransitionError
§fn from(source: BehaviourConnectFailed) -> BehaviourTransitionError
 
fn from(source: BehaviourConnectFailed) -> BehaviourTransitionError
Converts to this type from the input type.
§impl From<BehaviourDisconnectFailed> for BehaviourTransitionError
 
impl From<BehaviourDisconnectFailed> for BehaviourTransitionError
§fn from(source: BehaviourDisconnectFailed) -> BehaviourTransitionError
 
fn from(source: BehaviourDisconnectFailed) -> BehaviourTransitionError
Converts to this type from the input type.
§impl From<BehaviourInitializationFailed> for BehaviourTransitionError
 
impl From<BehaviourInitializationFailed> for BehaviourTransitionError
§fn from(source: BehaviourInitializationFailed) -> BehaviourTransitionError
 
fn from(source: BehaviourInitializationFailed) -> BehaviourTransitionError
Converts to this type from the input type.
§impl From<BehaviourInvalid> for BehaviourTransitionError
 
impl From<BehaviourInvalid> for BehaviourTransitionError
§fn from(source: BehaviourInvalid) -> BehaviourTransitionError
 
fn from(source: BehaviourInvalid) -> BehaviourTransitionError
Converts to this type from the input type.
§impl From<BehaviourTransitionError> for BehaviourCreationError
 
impl From<BehaviourTransitionError> for BehaviourCreationError
§fn from(source: BehaviourTransitionError) -> BehaviourCreationError
 
fn from(source: BehaviourTransitionError) -> BehaviourCreationError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BehaviourTransitionError
impl RefUnwindSafe for BehaviourTransitionError
impl Send for BehaviourTransitionError
impl Sync for BehaviourTransitionError
impl Unpin for BehaviourTransitionError
impl UnwindSafe for BehaviourTransitionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more