diff --git a/help.html b/help.html index 62d36aebd..1551ad217 100644 --- a/help.html +++ b/help.html @@ -1 +1,2 @@ -
unstable
only.Barebone DBus API of the Secret Service specifications.
+unstable
only.Barebone DBus API of the Secret Service specifications.
The API is not supposed to be used by the applications in general unless the wrapper API doesn’t provide functionality you need.
pub struct Collection<'a>(/* private fields */);
unstable
only.pub struct Collection<'a>(/* private fields */);
unstable
only.pub struct Item<'a>(/* private fields */);
unstable
only.pub struct Item<'a>(/* private fields */);
unstable
only.pub struct Secret<'a> { /* private fields */ }
unstable
only.Session used to encode the secret
+pub struct Secret<'a> { /* private fields */ }
unstable
only.Algorithm dependent parameters for secret value encoding
Content type of the secret
diff --git a/oo7/dbus/api/struct.Service.html b/oo7/dbus/api/struct.Service.html index c87d987d6..a11adcf04 100644 --- a/oo7/dbus/api/struct.Service.html +++ b/oo7/dbus/api/struct.Service.html @@ -1,4 +1,5 @@ -pub struct Service<'a>(/* private fields */);
unstable
only.pub struct Service<'a>(/* private fields */);
unstable
only.pub struct Session<'a>(/* private fields */);
unstable
only.pub struct Session<'a>(/* private fields */);
unstable
only.pub trait Unlockable: Serialize + Type { }
unstable
only.A common trait implemented by objects that can be +
pub trait Unlockable: Serialize + Type { }
unstable
only.A common trait implemented by objects that can be
locked or unlocked. Like Collection
or Item
.
pub enum Algorithm {
+Algorithm in oo7::dbus - Rust
+ pub enum Algorithm {
Plain,
Encrypted,
}
Expand description
Algorithm used to start a new session.
@@ -7,7 +8,7 @@
Variants§
Trait Implementations§
source§impl PartialEq for Algorithm
source§impl Copy for Algorithm
source§impl Eq for Algorithm
source§impl StructuralEq for Algorithm
source§impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
§impl RefUnwindSafe for Algorithm
§impl Send for Algorithm
§impl Sync for Algorithm
§impl Unpin for Algorithm
§impl UnwindSafe for Algorithm
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/oo7/dbus/enum.Error.html b/oo7/dbus/enum.Error.html
index 2af30e8fe..2ab8273b4 100644
--- a/oo7/dbus/enum.Error.html
+++ b/oo7/dbus/enum.Error.html
@@ -1,4 +1,5 @@
-Error in oo7::dbus - Rust pub enum Error {
+Error in oo7::dbus - Rust
+ pub enum Error {
Zbus(Error),
Service(ServiceError),
Deleted,
@@ -12,7 +13,7 @@
§Dismissed
The prompt request was dismissed.
§NotFound(String)
The collection doesn’t exists
§IO(Error)
Input/Output.
-
Trait Implementations§
source§impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ServiceError> for Error
source§fn from(e: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl !RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl !UnwindSafe for Error
Blanket Implementations§
Trait Implementations§
source§impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ServiceError> for Error
source§fn from(e: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl !RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/oo7/dbus/enum.ServiceError.html b/oo7/dbus/enum.ServiceError.html
index a41f9b118..740f0c4ce 100644
--- a/oo7/dbus/enum.ServiceError.html
+++ b/oo7/dbus/enum.ServiceError.html
@@ -1,4 +1,5 @@
-ServiceError in oo7::dbus - Rust Enum oo7::dbus::ServiceError
source · pub enum ServiceError {
+ServiceError in oo7::dbus - Rust
+ Enum oo7::dbus::ServiceError
source · pub enum ServiceError {
ZBus(Error),
IsLocked,
NoSession,
@@ -9,7 +10,7 @@
§IsLocked
Collection/Item is locked.
§NoSession
Session does not exist.
§NoSuchObject
Collection/Item does not exist.
-
Trait Implementations§
source§impl DBusError for ServiceError
source§impl Debug for ServiceError
source§impl Display for ServiceError
source§impl Error for ServiceError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Error> for ServiceError
source§fn from(value: Error) -> ServiceError
Converts to this type from the input type.source§impl From<ServiceError> for Error
source§fn from(e: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl !RefUnwindSafe for ServiceError
§impl Send for ServiceError
§impl Sync for ServiceError
§impl Unpin for ServiceError
§impl !UnwindSafe for ServiceError
Blanket Implementations§
Trait Implementations§
source§impl DBusError for ServiceError
source§impl Debug for ServiceError
source§impl Display for ServiceError
source§impl Error for ServiceError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Error> for ServiceError
source§fn from(value: Error) -> ServiceError
Converts to this type from the input type.source§impl From<ServiceError> for Error
source§fn from(e: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl !RefUnwindSafe for ServiceError
§impl Send for ServiceError
§impl Sync for ServiceError
§impl Unpin for ServiceError
§impl !UnwindSafe for ServiceError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/oo7/dbus/index.html b/oo7/dbus/index.html
index 26191438c..1d5acbc1d 100644
--- a/oo7/dbus/index.html
+++ b/oo7/dbus/index.html
@@ -1,4 +1,5 @@
-oo7::dbus - Rust Expand description
A Secret Service implementation.
+oo7::dbus - Rust
+ Expand description
A Secret Service implementation.
That is usually done with
use oo7::dbus::{Algorithm, Service};
diff --git a/oo7/dbus/static.DEFAULT_COLLECTION.html b/oo7/dbus/static.DEFAULT_COLLECTION.html
index e8e6c9d12..f42b28ff0 100644
--- a/oo7/dbus/static.DEFAULT_COLLECTION.html
+++ b/oo7/dbus/static.DEFAULT_COLLECTION.html
@@ -1,3 +1,4 @@
-DEFAULT_COLLECTION in oo7::dbus - Rust Static oo7::dbus::DEFAULT_COLLECTION
source · pub static DEFAULT_COLLECTION: &str
Expand description
The default collection alias.
+DEFAULT_COLLECTION in oo7::dbus - Rust
+ Static oo7::dbus::DEFAULT_COLLECTION
source · pub static DEFAULT_COLLECTION: &str
Expand description
The default collection alias.
In general, you are supposed to use Service::default_collection
.
\ No newline at end of file
diff --git a/oo7/dbus/static.SESSION_COLLECTION.html b/oo7/dbus/static.SESSION_COLLECTION.html
index 937790f0a..d8bc64c46 100644
--- a/oo7/dbus/static.SESSION_COLLECTION.html
+++ b/oo7/dbus/static.SESSION_COLLECTION.html
@@ -1,3 +1,4 @@
-SESSION_COLLECTION in oo7::dbus - Rust Static oo7::dbus::SESSION_COLLECTION
source · pub static SESSION_COLLECTION: &str
Expand description
A session collection.
+SESSION_COLLECTION in oo7::dbus - Rust
+ Static oo7::dbus::SESSION_COLLECTION
source · pub static SESSION_COLLECTION: &str
Expand description
A session collection.
The collection is cleared when the user ends the session.
\ No newline at end of file
diff --git a/oo7/dbus/struct.Collection.html b/oo7/dbus/struct.Collection.html
index f9ded64f9..19f32cbb2 100644
--- a/oo7/dbus/struct.Collection.html
+++ b/oo7/dbus/struct.Collection.html
@@ -1,4 +1,5 @@
-Collection in oo7::dbus - Rust Struct oo7::dbus::Collection
source · pub struct Collection<'a> { /* private fields */ }
Expand description
A collection allows to store and retrieve items.
+Collection in oo7::dbus - Rust
+ Struct oo7::dbus::Collection
source · pub struct Collection<'a> { /* private fields */ }
Expand description
A collection allows to store and retrieve items.
The collection can be either in a locked or unlocked state, use
Collection::lock
or Collection::unlock
to lock or unlock it.
Using Collection::search_items
or Collection::items
will return no
diff --git a/oo7/dbus/struct.Item.html b/oo7/dbus/struct.Item.html
index 444e352e2..c48650092 100644
--- a/oo7/dbus/struct.Item.html
+++ b/oo7/dbus/struct.Item.html
@@ -1,4 +1,5 @@
-
Item in oo7::dbus - Rust pub struct Item<'a> { /* private fields */ }
Expand description
A secret with a label and attributes to identify it.
+Item in oo7::dbus - Rust
+ pub struct Item<'a> { /* private fields */ }
Expand description
A secret with a label and attributes to identify it.
An item might be locked or unlocked, use Item::lock
or Item::unlock
to lock or unlock it. Note that the Secret Service might not be able to
lock/unlock individual items and may lock/unlock the entire collection in
diff --git a/oo7/dbus/struct.Service.html b/oo7/dbus/struct.Service.html
index ce3f8bb9f..ec8cd2e96 100644
--- a/oo7/dbus/struct.Service.html
+++ b/oo7/dbus/struct.Service.html
@@ -1,4 +1,5 @@
-
Service in oo7::dbus - Rust pub struct Service<'a> { /* private fields */ }
Expand description
The entry point of communicating with a org.freedesktop.Secrets
implementation.
+Service in oo7::dbus - Rust
+ pub struct Service<'a> { /* private fields */ }
Expand description
The entry point of communicating with a org.freedesktop.Secrets
implementation.
It will automatically create a session for you and allow you to retrieve
collections or create new ones.
Certain actions requires on the Secret Service implementation requires a
diff --git a/oo7/enum.Error.html b/oo7/enum.Error.html
index 340c047ba..85a04e83b 100644
--- a/oo7/enum.Error.html
+++ b/oo7/enum.Error.html
@@ -1,10 +1,11 @@
-
Error in oo7 - Rust pub enum Error {
+Error in oo7 - Rust
+ pub enum Error {
Portal(Error),
DBus(Error),
}
Expand description
The error type for oo7.
Variants§
Trait Implementations§
source§impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl !UnwindSafe for Error
Blanket Implementations§
Trait Implementations§
source§impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Auto Trait Implementations§
§impl !RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/oo7/enum.Item.html b/oo7/enum.Item.html
index ace3ccd8d..9be56dc37 100644
--- a/oo7/enum.Item.html
+++ b/oo7/enum.Item.html
@@ -1,4 +1,5 @@
-Item in oo7 - Rust pub enum Item {
+Item in oo7 - Rust
+ pub enum Item {
// some variants omitted
}
Expand description
A generic secret with a label and attributes.
Implementations§
source§impl Item
sourcepub async fn label(&self) -> Result<String>
The item label.
diff --git a/oo7/enum.Keyring.html b/oo7/enum.Keyring.html
index fed0b40ac..def3e0540 100644
--- a/oo7/enum.Keyring.html
+++ b/oo7/enum.Keyring.html
@@ -1,4 +1,5 @@
-Keyring in oo7 - Rust pub enum Keyring {
+Keyring in oo7 - Rust
+ pub enum Keyring {
// some variants omitted
}
Expand description
A Secret Service or file backed keyring
implementation.
diff --git a/oo7/fn.is_sandboxed.html b/oo7/fn.is_sandboxed.html
index a9d777d52..a47f32530 100644
--- a/oo7/fn.is_sandboxed.html
+++ b/oo7/fn.is_sandboxed.html
@@ -1,2 +1,3 @@
-is_sandboxed in oo7 - Rust Function oo7::is_sandboxed
source · pub async fn is_sandboxed() -> bool
Expand description
Checks whether the application is sandboxed or not.
+is_sandboxed in oo7 - Rust
+ Function oo7::is_sandboxed
source · pub async fn is_sandboxed() -> bool
Expand description
Checks whether the application is sandboxed or not.
\ No newline at end of file
diff --git a/oo7/fn.migrate.html b/oo7/fn.migrate.html
index da06333d4..3ca8e21d4 100644
--- a/oo7/fn.migrate.html
+++ b/oo7/fn.migrate.html
@@ -1,4 +1,5 @@
-migrate in oo7 - Rust pub async fn migrate(
+migrate in oo7 - Rust
+ pub async fn migrate(
attributes: Vec<HashMap<&str, &str>>,
replace: bool
) -> Result<()>
Expand description
Helper to migrate your secrets from the host Secret Service
diff --git a/oo7/index.html b/oo7/index.html
index 3ee6ae002..a2584b154 100644
--- a/oo7/index.html
+++ b/oo7/index.html
@@ -1,5 +1,6 @@
-
oo7 - Rust Expand description
OO7
+oo7 - Rust
+ Expand description
OO7
James Bond went on a new mission and this time as a Secret Service provider.
The library consists of two modules:
@@ -117,6 +118,6 @@ Credits
- secret-service-rs for the encrypted Secret Service implementation.
-Modules
- A Secret Service implementation.
- File backend implementation backed by the Secret portal.
Structs
- Key
unstable
A key.
Enums
- The error type for oo7.
- A generic secret with a label and attributes.
- A Secret Service or file backed keyring
+
Re-exports
pub use zbus;
Modules
- A Secret Service implementation.
- File backend implementation backed by the Secret portal.
Structs
- Key
unstable
A key.
Enums
- The error type for oo7.
- A generic secret with a label and attributes.
- A Secret Service or file backed keyring
implementation.
Functions
- Checks whether the application is sandboxed or not.
- Helper to migrate your secrets from the host Secret Service
to the sandboxed file backend.
Type Aliases
- Alias for
std::result::Result
with the error type Error
.
\ No newline at end of file
diff --git a/oo7/portal/api/index.html b/oo7/portal/api/index.html
index 89704bb2b..2efeae46e 100644
--- a/oo7/portal/api/index.html
+++ b/oo7/portal/api/index.html
@@ -1,2 +1,3 @@
-oo7::portal::api - Rust Available on crate feature unstable
only.Expand description
GNOME Keyring file format low level API.
+oo7::portal::api - Rust
+
\ No newline at end of file
diff --git a/oo7/portal/api/struct.AttributeValue.html b/oo7/portal/api/struct.AttributeValue.html
index 834c24f04..22a02ad68 100644
--- a/oo7/portal/api/struct.AttributeValue.html
+++ b/oo7/portal/api/struct.AttributeValue.html
@@ -1,4 +1,5 @@
-AttributeValue in oo7::portal::api - Rust Struct oo7::portal::api::AttributeValue
source · pub struct AttributeValue(/* private fields */);
Available on crate feature unstable
only.Expand description
An encrypted attribute value.
+AttributeValue in oo7::portal::api - Rust
+ Struct oo7::portal::api::AttributeValue