pub struct ParseChannelLayoutError(pub String);Expand description
Error returned by the ChannelLayout FromStr impl when the input
doesn’t match any recognised layout name.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ParseChannelLayoutError
impl Clone for ParseChannelLayoutError
Source§fn clone(&self) -> ParseChannelLayoutError
fn clone(&self) -> ParseChannelLayoutError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParseChannelLayoutError
impl Debug for ParseChannelLayoutError
Source§impl Display for ParseChannelLayoutError
impl Display for ParseChannelLayoutError
Source§impl Error for ParseChannelLayoutError
impl Error for ParseChannelLayoutError
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 ParseChannelLayoutError
impl PartialEq for ParseChannelLayoutError
impl Eq for ParseChannelLayoutError
impl StructuralPartialEq for ParseChannelLayoutError
Auto Trait Implementations§
impl Freeze for ParseChannelLayoutError
impl RefUnwindSafe for ParseChannelLayoutError
impl Send for ParseChannelLayoutError
impl Sync for ParseChannelLayoutError
impl Unpin for ParseChannelLayoutError
impl UnsafeUnpin for ParseChannelLayoutError
impl UnwindSafe for ParseChannelLayoutError
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