[−][src]Trait resource::ReadFromFile
Used internally.
Only used by the dynamic versions of Resource
to make it generic
over both strings and bytes. Represents something that can be read
straight from a file.
Used internally.
Only used by the dynamic versions of Resource
to make it generic
over both strings and bytes. Represents something that can be read
straight from a file.
fn read_from_file(path: &Path) -> Self
impl ReadFromFile for String
[src]fn read_from_file(path: &Path) -> String
[src]impl ReadFromFile for Vec<u8>
[src]fn read_from_file(path: &Path) -> Vec<u8>
[src]