MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / from

Method from

src/executor/query.rs:57–64  ·  view source on GitHub ↗
(e: TryGetError)

Source from the content-addressed store, hash-verified

55
56impl From<TryGetError> for DbErr {
57 fn from(e: TryGetError) -> DbErr {
58 match e {
59 TryGetError::DbErr(e) => e,
60 TryGetError::Null(s) => {
61 type_err(format!("A null value was encountered while decoding {s}"))
62 }
63 }
64 }
65}
66
67impl From<DbErr> for TryGetError {

Callers 12

fetch_pageFunction · 0.45
fetch_page_rawFunction · 0.45
fetchFunction · 0.45
fetch_rawFunction · 0.45
num_pagesFunction · 0.45
num_pages_rawFunction · 0.45
fetch_and_nextFunction · 0.45
fetch_and_next_rawFunction · 0.45
into_streamFunction · 0.45
into_stream_rawFunction · 0.45
build_with_queryFunction · 0.45

Calls 2

type_errFunction · 0.85
DbErrEnum · 0.85

Tested by 1

build_with_queryFunction · 0.36