pub struct CreateTorrentResult {
pub meta: TorrentMeta,
pub bytes: Vec<u8>,
}Expand description
Result of torrent creation.
Fields§
§meta: TorrentMetaParsed torrent metadata (V1, V2, or Hybrid depending on set_version()).
bytes: Vec<u8>Raw .torrent file bytes.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CreateTorrentResult
impl RefUnwindSafe for CreateTorrentResult
impl Send for CreateTorrentResult
impl Sync for CreateTorrentResult
impl Unpin for CreateTorrentResult
impl UnsafeUnpin for CreateTorrentResult
impl UnwindSafe for CreateTorrentResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more