pub struct VarlinkRoowhoo2ClientServer {
whod_status_store: RwhodStatusStore,
rwhod_enabled: bool,
fingerd_enabled: bool,
walld_enabled: bool,
finger_ignore_list: Option<IgnoreList>,
polkit: Option<PolkitAuthority>,
}Fields§
§whod_status_store: RwhodStatusStore§rwhod_enabled: bool§fingerd_enabled: bool§walld_enabled: bool§finger_ignore_list: Option<IgnoreList>§polkit: Option<PolkitAuthority>Implementations§
Source§impl VarlinkRoowhoo2ClientServer
impl VarlinkRoowhoo2ClientServer
pub fn new( whod_status_store: RwhodStatusStore, rwhod_enabled: bool, fingerd_enabled: bool, walld_enabled: bool, finger_ignore_list: Option<IgnoreList>, polkit: Option<PolkitAuthority>, ) -> Self
Trait Implementations§
Source§impl Clone for VarlinkRoowhoo2ClientServer
impl Clone for VarlinkRoowhoo2ClientServer
Source§fn clone(&self) -> VarlinkRoowhoo2ClientServer
fn clone(&self) -> VarlinkRoowhoo2ClientServer
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 Service<Stream> for VarlinkRoowhoo2ClientServer
impl Service<Stream> for VarlinkRoowhoo2ClientServer
Source§type MethodCall<'de> = VarlinkMethod
type MethodCall<'de> = VarlinkMethod
The type of method call that this service handles. Read more
Source§type ReplyParams<'se> = VarlinkReply
type ReplyParams<'se> = VarlinkReply
The type of the successful reply. Read more
Source§type ReplyError<'se> = VarlinkReplyError
type ReplyError<'se> = VarlinkReplyError
The type of the error reply. Read more
Source§type ReplyStreamParams = ()
type ReplyStreamParams = ()
The type of the item that
Service::ReplyStream will be expected to yield. Read moreSource§type ReplyStream = Empty<(Result<Reply<<VarlinkRoowhoo2ClientServer as Service<Stream>>::ReplyStreamParams>, <VarlinkRoowhoo2ClientServer as Service<Stream>>::ReplyStreamError>, Vec<OwnedFd>)>
type ReplyStream = Empty<(Result<Reply<<VarlinkRoowhoo2ClientServer as Service<Stream>>::ReplyStreamParams>, <VarlinkRoowhoo2ClientServer as Service<Stream>>::ReplyStreamError>, Vec<OwnedFd>)>
The type of the multi-reply stream. Read more
Source§type ReplyStreamError = ()
type ReplyStreamError = ()
The type of an error reply produced by a streaming method. Read more
Source§async fn handle<'service>(
&'service mut self,
call: &'service Call<Self::MethodCall<'_>>,
conn: &mut Connection<UnixStream>,
_fds: Vec<OwnedFd>,
) -> HandleResult<Self::ReplyParams<'service>, Self::ReplyStream, Self::ReplyError<'service>>
async fn handle<'service>( &'service mut self, call: &'service Call<Self::MethodCall<'_>>, conn: &mut Connection<UnixStream>, _fds: Vec<OwnedFd>, ) -> HandleResult<Self::ReplyParams<'service>, Self::ReplyStream, Self::ReplyError<'service>>
Handle a method call.
Auto Trait Implementations§
impl !RefUnwindSafe for VarlinkRoowhoo2ClientServer
impl !UnwindSafe for VarlinkRoowhoo2ClientServer
impl Freeze for VarlinkRoowhoo2ClientServer
impl Send for VarlinkRoowhoo2ClientServer
impl Sync for VarlinkRoowhoo2ClientServer
impl Unpin for VarlinkRoowhoo2ClientServer
impl UnsafeUnpin for VarlinkRoowhoo2ClientServer
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 more