pub enum UnsupportedError {
CloneBlocksNotSupported(Id),
EventSendingNotSupported,
UnsupportedSensingBlock,
UnsupportedLooksBlock,
UnsupportedMotionBlock,
}Variants§
CloneBlocksNotSupported(Id)
EventSendingNotSupported
UnsupportedSensingBlock
UnsupportedLooksBlock
UnsupportedMotionBlock
Trait Implementations§
Source§impl Clone for UnsupportedError
impl Clone for UnsupportedError
Source§fn clone(&self) -> UnsupportedError
fn clone(&self) -> UnsupportedError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnsupportedError
impl Debug for UnsupportedError
Source§impl<'de> Deserialize<'de> for UnsupportedError
impl<'de> Deserialize<'de> for UnsupportedError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for UnsupportedError
impl Display for UnsupportedError
Source§impl Error for UnsupportedError
impl Error for UnsupportedError
1.30.0 · Source§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()
Source§impl<SErr> From<UnsupportedError> for RunError<SErr>
impl<SErr> From<UnsupportedError> for RunError<SErr>
Source§fn from(source: UnsupportedError) -> Self
fn from(source: UnsupportedError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UnsupportedError
impl PartialEq for UnsupportedError
Source§fn eq(&self, other: &UnsupportedError) -> bool
fn eq(&self, other: &UnsupportedError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UnsupportedError
impl PartialOrd for UnsupportedError
Source§impl Serialize for UnsupportedError
impl Serialize for UnsupportedError
impl StructuralPartialEq for UnsupportedError
Auto Trait Implementations§
impl Freeze for UnsupportedError
impl RefUnwindSafe for UnsupportedError
impl Send for UnsupportedError
impl Sync for UnsupportedError
impl Unpin for UnsupportedError
impl UnsafeUnpin for UnsupportedError
impl UnwindSafe for UnsupportedError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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