Enum dbus::arg::messageitem::ArrayError
source · [−]pub enum ArrayError {
EmptyArray,
DifferentElementTypes,
InvalidSignature,
}
Expand description
Errors that can happen when creating a MessageItem::Array.
Variants
EmptyArray
The array is empty.
DifferentElementTypes
The array is composed of different element types.
InvalidSignature
The supplied signature is not a valid array signature
Trait Implementations
sourceimpl Clone for ArrayError
impl Clone for ArrayError
sourcefn clone(&self) -> ArrayError
fn clone(&self) -> ArrayError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ArrayError
impl Debug for ArrayError
impl Copy for ArrayError
Auto Trait Implementations
impl RefUnwindSafe for ArrayError
impl Send for ArrayError
impl Sync for ArrayError
impl Unpin for ArrayError
impl UnwindSafe for ArrayError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more