pub struct AdministrationClient<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T: Transport> ProviderAdmin for AdministrationClient<T>
impl<T: Transport> ProviderAdmin for AdministrationClient<T>
fn get_config(&self) -> AdminFuture<'_, ProviderSnapshot>
fn set_config( &self, expected_revision: String, config: ProviderConfig, ) -> AdminFuture<'_, ProviderSnapshot>
Source§fn list_models(
&self,
profile_id: String,
) -> AdminFuture<'_, Vec<ModelDescriptor>>
fn list_models( &self, profile_id: String, ) -> AdminFuture<'_, Vec<ModelDescriptor>>
The models the provider lists, asked as its sign-in or, for a local
server, as itself: also the proof that the endpoint answers.
crate::protocol::ErrorKind::Unsupported when it lists none.Auto Trait Implementations§
impl<T> Forget for AdministrationClient<T>
impl<T> Freeze for AdministrationClient<T>where
T: Freeze,
impl<T> Move for AdministrationClient<T>
impl<T> RefUnwindSafe for AdministrationClient<T>where
T: RefUnwindSafe,
impl<T> Send for AdministrationClient<T>where
T: Send,
impl<T> Sync for AdministrationClient<T>where
T: Sync,
impl<T> Unpin for AdministrationClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for AdministrationClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for AdministrationClient<T>where
T: UnwindSafe,
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> 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 more