#[repr(u8)]pub enum ResponseCode {
Show 19 variants
Success = 0,
NullArgument = 1,
BadDescription = 2,
ExistingName = 3,
MissingInitialization = 4,
NoPipeline = 5,
NoResource = 6,
NoCreate = 7,
ExistingResource = 8,
NoUpdate = 9,
BadCommand = 10,
NoRead = 11,
NoConnection = 12,
BadValue = 13,
StateError = 14,
IpcError = 15,
EventError = 16,
MissingArgument = 17,
MissingName = 18,
}
Variants§
Success = 0
Everything went OK
NullArgument = 1
A mandatory argument was passed NULL
BadDescription = 2
A bad pipeline description was provided
ExistingName = 3
The name trying to be used already exists
MissingInitialization = 4
Missing initialization
NoPipeline = 5
The requested pipeline was not found
NoResource = 6
The requested resource was not found
NoCreate = 7
Cannot create a resource in the given property
ExistingResource = 8
The resource to create already exists
NoUpdate = 9
Cannot update the given property
BadCommand = 10
Unknown command
NoRead = 11
Cannot read the given resource
NoConnection = 12
Cannot connect
BadValue = 13
The given value is incorrect
StateError = 14
Failed to change state of a pipeline
IpcError = 15
Failed to start IPC
EventError = 16
Unknown event
MissingArgument = 17
Incomplete arguments in user input
MissingName = 18
Missing name of the pipeline
Trait Implementations§
Source§impl Clone for ResponseCode
impl Clone for ResponseCode
Source§fn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResponseCode
impl Debug for ResponseCode
Source§impl<'de> Deserialize<'de> for ResponseCode
impl<'de> Deserialize<'de> for ResponseCode
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 ResponseCode
impl Display for ResponseCode
Source§impl Error for ResponseCode
impl Error for ResponseCode
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 PartialEq for ResponseCode
impl PartialEq for ResponseCode
Source§impl Serialize for ResponseCode
impl Serialize for ResponseCode
impl Copy for ResponseCode
impl Eq for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations§
impl Freeze for ResponseCode
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.