pub struct SystemAdapters;Expand description
The adapters every production control plane carries.
Holds nothing. Each call builds its piece fresh, the way the use cases did inline before they went through this port, so the credential chain resolves when it’s first needed rather than when the plane is built.
Trait Implementations§
Source§impl Adapters for SystemAdapters
impl Adapters for SystemAdapters
Source§fn warn(&self, warning: &str)
fn warn(&self, warning: &str)
A plain write to stderr rather than a log macro, because the client has no logging
dependency, and taking one on to warn about a leak would be a dependency for a
diagnostic. Not eprintln!: it panics when stderr’s reader has gone, and a panic in
drop during an unwind aborts the process (CLI-7). The error is ignored; there is
nowhere left to report it.
Source§fn http_backend(
&self,
endpoint: &str,
timeout: Duration,
) -> Result<Arc<dyn HttpBackend>, Error>
fn http_backend( &self, endpoint: &str, timeout: Duration, ) -> Result<Arc<dyn HttpBackend>, Error>
The HTTP backend a session against
endpoint sends through, whose non-streaming
requests time out after timeout.Source§impl Clone for SystemAdapters
impl Clone for SystemAdapters
Source§fn clone(&self) -> SystemAdapters
fn clone(&self) -> SystemAdapters
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 moreimpl Copy for SystemAdapters
Source§impl Debug for SystemAdapters
impl Debug for SystemAdapters
Source§impl Default for SystemAdapters
impl Default for SystemAdapters
Source§fn default() -> SystemAdapters
fn default() -> SystemAdapters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SystemAdapters
impl RefUnwindSafe for SystemAdapters
impl Send for SystemAdapters
impl Sync for SystemAdapters
impl Unpin for SystemAdapters
impl UnsafeUnpin for SystemAdapters
impl UnwindSafe for SystemAdapters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.