Docs.rs
cyfs-base-0.6.12
cyfs-base 0.6.12
Permalink
Docs.rs crate page
BSD-2-Clause
Links
crates.io
Source
Owners
BDTDevTeam
Dependencies
aes =0.7
normal
async-recursion ^1.0
normal
async-std ^1.11
normal
async-trait ^0.1.53
normal
base-x ^0.2.0
normal
base58 ^0.2.0
normal
block-modes =0.8
normal
chrono ^0.4
normal
cyfs-base-derive ^0.5
normal
cyfs-ecies ^0.1.4
normal
generic-array ^0.12
normal
hex ^0.4
normal
http-types ^2.12
normal
int-enum ^0.4
normal
intbits ^0.2
normal
itertools ^0.10
normal
lazy_static ^1.4
normal
libc ^0.2
normal
libsecp256k1 ^0.3.5
normal
log ^0.4
normal
lru_time_cache ^0.11
normal
once_cell ^1.12
normal
primitive-types ^0.9
normal
protobuf ^2
normal
rand ^0.7
normal
rsa ^0.3.0
normal
rsa-export ^0.1.1
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.8
normal
simple_logger ^2.1
normal
sqlx ^0.5
normal
optional
url ^2.2
normal
chrono ^0.4
build
protoc-bin-vendored ^3
build
protoc-rust ^2
build
rusqlite ^0.27.0
normal
zip ^0.6
normal
Versions
1.4%
of the crate is documented
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Dir
cyfs_
base
0.6.12
Dir
Aliased Type
Methods
check_and_fix_desc_limit
get_data_from_body
new
new_with_chunk_body
In crate cyfs_
base
cyfs_base
Type Alias
Dir
Copy item path
Source
pub type Dir =
NamedObjectBase
<
DirType
>;
Aliased Type
§
pub struct Dir {
/* private fields */
}
Implementations
§
Source
§
impl
Dir
Source
pub fn
new
( dir_attributes:
Attributes
, obj_desc:
NDNObjectInfo
, obj_map:
HashMap
<
ObjectId
,
Vec
<
u8
>>, ) ->
DirBuilder
Source
pub fn
new_with_chunk_body
( dir_attributes:
Attributes
, obj_desc:
NDNObjectInfo
, chunk_body:
ChunkId
, ) ->
DirBuilder
Source
pub fn
get_data_from_body
(&self, id: &
ObjectId
) ->
Option
<&
Vec
<
u8
>>
Source
pub fn
check_and_fix_desc_limit
(&mut self) ->
BuckyResult
<
()
>