OwnershipOracle

Trait OwnershipOracle 

Source
pub trait OwnershipOracle: Send + Sync {
    // Required method
    fn owner_of(&self, path: &SafePath) -> Result<OwnershipInfo>;
}

Required Methods§

Source

fn owner_of(&self, path: &SafePath) -> Result<OwnershipInfo>

Get ownership information for the specified path.

§Errors

Returns an error if ownership information cannot be determined.

Implementors§