pub enum ClientResponse {
SshKeys(Vec<String>),
NssAccounts(Vec<NssUser>),
NssAccount(Option<NssUser>),
NssGroups(Vec<NssGroup>),
NssGroup(Option<NssGroup>),
PamStatus(Option<bool>),
PamAuthenticateStepResponse(PamAuthResponse),
ProviderStatus(Vec<ProviderStatus>),
Ok,
Error(OperationError),
}
Variants§
SshKeys(Vec<String>)
NssAccounts(Vec<NssUser>)
NssAccount(Option<NssUser>)
NssGroups(Vec<NssGroup>)
NssGroup(Option<NssGroup>)
PamStatus(Option<bool>)
PamAuthenticateStepResponse(PamAuthResponse)
ProviderStatus(Vec<ProviderStatus>)
Ok
Error(OperationError)
Trait Implementations§
source§impl Debug for ClientResponse
impl Debug for ClientResponse
source§impl<'de> Deserialize<'de> for ClientResponse
impl<'de> Deserialize<'de> for ClientResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<PamAuthResponse> for ClientResponse
impl From<PamAuthResponse> for ClientResponse
source§fn from(par: PamAuthResponse) -> Self
fn from(par: PamAuthResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientResponse
impl RefUnwindSafe for ClientResponse
impl Send for ClientResponse
impl Sync for ClientResponse
impl Unpin for ClientResponse
impl UnwindSafe for ClientResponse
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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