pub enum ButtplugServerError {
DeviceConfigurationManagerError(ButtplugDeviceError),
DeviceCommunicationManagerTypeAlreadyAdded(String),
ProtocolAlreadyAdded(String),
ProtocolDoesNotExist(String),
}Expand description
Error enum for Buttplug Server configuration errors.
Variants§
DeviceConfigurationManagerError(ButtplugDeviceError)
DeviceConfigurationManager could not be built.
DeviceCommunicationManagerTypeAlreadyAdded(String)
DeviceCommunicationManager type has already been added to the system.
ProtocolAlreadyAdded(String)
Protocol has already been added to the system.
ProtocolDoesNotExist(String)
Requested protocol has not been registered with the system.
Trait Implementations§
Source§impl Debug for ButtplugServerError
impl Debug for ButtplugServerError
Source§impl Display for ButtplugServerError
impl Display for ButtplugServerError
Source§impl Error for ButtplugServerError
impl Error for ButtplugServerError
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()
Auto Trait Implementations§
impl Freeze for ButtplugServerError
impl RefUnwindSafe for ButtplugServerError
impl Send for ButtplugServerError
impl Sync for ButtplugServerError
impl Unpin for ButtplugServerError
impl UnwindSafe for ButtplugServerError
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