MCPcopy Create free account
hub / github.com/RustCrypto/SSH / finish

Method finish

ssh-encoding/src/reader.rs:139–142  ·  view source on GitHub ↗

Finish decoding, returning the given value if there is no remaining data. # Errors Returns [`Error::TrailingData`] if there is data remaining in the encoder.

(self, value: T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 1

reader.rsssh-encoding/src/reader.rs

Calls 1

ensure_finishedMethod · 0.80

Tested by

no test coverage detected