Struct mpd_protocol::response::Error
source · pub struct Error {
pub code: u64,
pub command_index: u64,
pub current_command: Option<Box<str>>,
pub message: Box<str>,
}
Expand description
A response to a command indicating an error.
Fields§
§code: u64
Error code. See the MPD source for a list of of possible values.
command_index: u64
Index of command in a command list that caused this error. 0 when not in a command list.
current_command: Option<Box<str>>
Command that returned the error, if applicable.
message: Box<str>
Message describing the error.
Trait Implementations§
source§impl PartialEq for Error
impl PartialEq for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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