pub struct Client { /* private fields */ }
Expand description
SSH Host Certificates along with the corresponding private key allows an SSH server to assert its authenticity to connecting SSH clients who trust the SSH Certificate Authority that was used to sign the certificate.
Implementations§
Source§impl Client
impl Client
pub fn new(c: Client) -> Self
Sourcepub async fn create(
&self,
req: &SSHHostCertificateCreate,
) -> Result<SSHHostCertificate, Error>
pub async fn create( &self, req: &SSHHostCertificateCreate, ) -> Result<SSHHostCertificate, Error>
Create a new SSH Host Certificate
Sourcepub async fn get(&self, id: &str) -> Result<SSHHostCertificate, Error>
pub async fn get(&self, id: &str) -> Result<SSHHostCertificate, Error>
Get detailed information about an SSH Host Certficate
Sourcepub async fn update(
&self,
req: &SSHHostCertificateUpdate,
) -> Result<SSHHostCertificate, Error>
pub async fn update( &self, req: &SSHHostCertificateUpdate, ) -> Result<SSHHostCertificate, Error>
Update an SSH Host Certificate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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