Trait ObjectSource
pub trait ObjectSource:
Send
+ Sync
+ 'static {
// Required methods
fn try_get_stream(
&mut self,
) -> Result<Box<dyn FixedSizedSource>, CryptError>;
fn get_source_name(&self) -> Result<String, CryptError>;
fn path(&self) -> Option<PathBuf>;
}Required Methods§
fn try_get_stream(&mut self) -> Result<Box<dyn FixedSizedSource>, CryptError>
fn get_source_name(&self) -> Result<String, CryptError>
fn path(&self) -> Option<PathBuf>
Implementations on Foreign Types§
§impl ObjectSource for &'static str
Available on crate feature filesystem only.
impl ObjectSource for &'static str
Available on crate feature
filesystem only.§impl ObjectSource for String
Available on crate feature filesystem only.
impl ObjectSource for String
Available on crate feature
filesystem only.§impl ObjectSource for PathBuf
Available on crate feature filesystem only.
impl ObjectSource for PathBuf
Available on crate feature
filesystem only.