Skip to content

Commit

Permalink
Adds basic docs for AttachDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaffin committed Apr 2, 2021
1 parent bce6150 commit 0389b26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ impl LoopDevice {
}
}

/// Used to set options when attaching a device. Created with [LoopDevice::with()].
pub struct AttachOptions<'d> {
device: &'d mut LoopDevice,
info: LoopInfo64,
Expand Down

0 comments on commit 0389b26

Please sign in to comment.