Skip to content

Commit

Permalink
desktop/token: Show backend feature requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Dec 24, 2024
1 parent d6efa56 commit c26bcd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/desktop/handle_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ use serde::{Deserialize, Serialize};
use zbus::zvariant::OwnedObjectPath;
use zbus::{names::OwnedMemberName, zvariant::Type};

/// A handle token is a DBus Object Path element, specified in the
/// [`Request`](crate::desktop::Request) or
/// A handle token is a DBus Object Path element.
///
/// Specified in the [`Request`](crate::desktop::Request) or
/// [`Session`](crate::desktop::Session) object path following this format
/// `/org/freedesktop/portal/desktop/request/SENDER/TOKEN` where sender is the
/// caller's unique name and token is the [`HandleToken`].
Expand Down
1 change: 1 addition & 0 deletions src/desktop/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
mod handle_token;
pub(crate) mod request;
mod session;
#[cfg_attr(docsrs, doc(cfg(feature = "backend")))]
#[cfg(feature = "backend")]
pub use self::handle_token::HandleToken;
#[cfg(not(feature = "backend"))]
Expand Down

0 comments on commit c26bcd4

Please sign in to comment.