Mercurial > crates > nonstick
comparison src/lib.rs @ 96:f3e260f9ddcb
Make conversation trait use immutable references.
Since sending a conversation a message doesn't really "mutate" it,
it shouldn't really be considered "mutable" for that purpose.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Mon, 23 Jun 2025 14:26:34 -0400 |
| parents | 5ddbcada30f2 |
| children | b87100c5eed4 |
comparison
equal
deleted
inserted
replaced
| 95:51c9d7e8261a | 96:f3e260f9ddcb |
|---|---|
| 38 #[cfg(feature = "link")] | 38 #[cfg(feature = "link")] |
| 39 pub use crate::libpam::{LibPamHandle, OwnedLibPamHandle}; | 39 pub use crate::libpam::{LibPamHandle, OwnedLibPamHandle}; |
| 40 #[doc(inline)] | 40 #[doc(inline)] |
| 41 pub use crate::{ | 41 pub use crate::{ |
| 42 constants::{ErrorCode, Flags, Result}, | 42 constants::{ErrorCode, Flags, Result}, |
| 43 conv::{BinaryData, Conversation, SimpleConversation}, | 43 conv::{BinaryData, Conversation, ConversationAdapter}, |
| 44 handle::{PamHandleApplication, PamHandleModule, PamShared}, | 44 handle::{PamHandleApplication, PamHandleModule, PamShared}, |
| 45 module::PamModule, | 45 module::PamModule, |
| 46 }; | 46 }; |
