citadel_sdk::fs

Function write_with_security_level

Source
pub async fn write_with_security_level<T: ObjectSource, P: Into<PathBuf> + Send, R: Ratchet>(
    remote: &impl TargetLockedRemote<R>,
    source: T,
    security_level: SecurityLevel,
    virtual_path: P,
) -> Result<(), NetworkError>
Expand description

Writes a file or BytesSource to the Remote Encrypted Virtual Filesystem with a custom security level.