pub trait Release<P>: Cleanup<(P, Self::Target)> {
type Ring;
type File;
type Session;
type Target: Copy;
// Required methods
fn raw(
ring: Self::Ring,
file: Self::File,
primary: P,
) -> Result<(P, Self::Target), Self>;
fn session(
session: Self::Session,
primary: P,
) -> Result<(P, Self::Target), Self>;
}Expand description
Failed removal retains the same fixed-file authority through every retry.
Required Associated Types§
Required Methods§
fn raw( ring: Self::Ring, file: Self::File, primary: P, ) -> Result<(P, Self::Target), Self>
fn session( session: Self::Session, primary: P, ) -> Result<(P, Self::Target), Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".