pub struct UnsupportedCapability {
pub what: &'static str,
pub backend: &'static str,
}Expand description
A setting the chosen transport cannot honor.
Returned from build() rather than silently ignored. The model is
wasi:http itself, whose setters return request-options-error::not-supported.
Fields§
§what: &'static str§backend: &'static strTrait Implementations§
Source§impl Clone for UnsupportedCapability
impl Clone for UnsupportedCapability
Source§fn clone(&self) -> UnsupportedCapability
fn clone(&self) -> UnsupportedCapability
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 UnsupportedCapability
impl Debug for UnsupportedCapability
Source§impl Display for UnsupportedCapability
impl Display for UnsupportedCapability
impl Eq for UnsupportedCapability
Source§impl Error for UnsupportedCapability
impl Error for UnsupportedCapability
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 UnsupportedCapability
impl PartialEq for UnsupportedCapability
impl StructuralPartialEq for UnsupportedCapability
Auto Trait Implementations§
impl Freeze for UnsupportedCapability
impl RefUnwindSafe for UnsupportedCapability
impl Send for UnsupportedCapability
impl Sync for UnsupportedCapability
impl Unpin for UnsupportedCapability
impl UnsafeUnpin for UnsupportedCapability
impl UnwindSafe for UnsupportedCapability
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