[−][src]Enum buttplug::core::errors::ButtplugDeviceError
Variants
DeviceNotConnected(String)
Device {0} not connected
MessageNotSupported(ButtplugDeviceMessageType)
Device does not support message type {0}.
Device only has {0} features, but {1} commands were sent.
Device only has {0} features, but was given an index of {1}
DeviceConnectionError(String)
Device connection error: {0}
DeviceCommunicationError(String)
Device communication error: {0}
InvalidEndpoint(Endpoint)
Device does not have endpoint {0}
UnhandledCommand(String)
Device does not handle command type: {0}
DeviceSpecificError(ButtplugDeviceSpecificError)
Device type specific error.
DeviceNotAvailable(u32)
No device available at index {0}
Device scanning already started.
Device scanning already stopped.
DevicePermissionError(String)
Device permission error: {0}
ProtocolAttributesNotFound(String)
{0}
ProtocolNotImplemented(String)
Protocol {0} not implemented in library
{0} protocol specific error: {1}
ProtocolRequirementError(String)
{0}
UntypedDeserializedError(String)
Untyped Deserialized Error: {0}
Trait Implementations
impl Clone for ButtplugDeviceError
[src]
fn clone(&self) -> ButtplugDeviceError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ButtplugDeviceError
[src]
impl Display for ButtplugDeviceError
[src]
impl Error for ButtplugDeviceError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<T> From<ButtplugDeviceError> for BoxFuture<'static, Result<T, ButtplugError>> where
T: Send + 'static,
[src]
T: Send + 'static,
Device errors occur during device interactions, including sending unsupported message commands, addressing the wrong number of device attributes, etc...
fn from(
err: ButtplugDeviceError
) -> BoxFuture<'static, Result<T, ButtplugError>>
[src]
err: ButtplugDeviceError
) -> BoxFuture<'static, Result<T, ButtplugError>>
impl From<ButtplugDeviceError> for ButtplugError
[src]
fn from(source: ButtplugDeviceError) -> Self
[src]
impl From<ButtplugDeviceError> for ButtplugServerError
[src]
fn from(err: ButtplugDeviceError) -> Self
[src]
impl From<ButtplugDeviceSpecificError> for ButtplugDeviceError
[src]
fn from(source: ButtplugDeviceSpecificError) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ButtplugDeviceError
impl Send for ButtplugDeviceError
impl Sync for ButtplugDeviceError
impl Unpin for ButtplugDeviceError
impl UnwindSafe for ButtplugDeviceError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn backtrace(&self) -> Option<&Backtrace>
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
impl<T> From<T> for T
[src]
impl<T> GetTypeId for T where
T: Any,
[src]
T: Any,
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,