pub enum CloneThreadSelectError {
RequestedNotAdvertised {
requested: String,
},
NoAdvertisedThreads,
}Expand description
Why clone could not choose a thread to check out.
Variants§
RequestedNotAdvertised
--thread named a ref the remote did not advertise.
NoAdvertisedThreads
Remote advertised no usable thread names.
Trait Implementations§
Source§impl Clone for CloneThreadSelectError
impl Clone for CloneThreadSelectError
Source§fn clone(&self) -> CloneThreadSelectError
fn clone(&self) -> CloneThreadSelectError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloneThreadSelectError
impl Debug for CloneThreadSelectError
Source§impl Display for CloneThreadSelectError
impl Display for CloneThreadSelectError
impl Eq for CloneThreadSelectError
Source§impl Error for CloneThreadSelectError
impl Error for CloneThreadSelectError
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 CloneThreadSelectError
impl PartialEq for CloneThreadSelectError
impl StructuralPartialEq for CloneThreadSelectError
Auto Trait Implementations§
impl Freeze for CloneThreadSelectError
impl RefUnwindSafe for CloneThreadSelectError
impl Send for CloneThreadSelectError
impl Sync for CloneThreadSelectError
impl Unpin for CloneThreadSelectError
impl UnsafeUnpin for CloneThreadSelectError
impl UnwindSafe for CloneThreadSelectError
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